emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: process output has become a bit random...


From: Kenichi Handa
Subject: Re: process output has become a bit random...
Date: Mon, 2 Aug 2004 09:03:08 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, David Kastrup <address@hidden> writes:
> [2  <text/x-patch (7bit)>]
> --- coding.c  22 Jun 2004 11:22:11 +0200      1.305
> +++ coding.c  01 Aug 2004 02:17:32 +0200      
> @@ -5330,7 +5330,7 @@
>  /* As shrinking conversion region requires some overhead, we don't try
>     shrinking if the length of conversion region is less than this
>     value.  */
> -static int shrink_conversion_region_threshhold = 1024;
> +static int shrink_conversion_region_threshhold = 4100;
 
>  #define SHRINK_CONVERSION_REGION(beg, end, coding, str, encodep)     \
>    do {                                                                       
> \
> [3  <text/plain (7bit)>]

> This might explain why the changes in buffer size that I did
> previously triggered problems: that way the buffer could get larger
> than this threshold of 1024 bytes.  It would appear that as soon as
> shrink_decoding_region is called via SHRINK_CONVERSION_REGION in
> decode-coding-string, things start going haywire.

Thank you for tracking the problem down to here.  I'll check
what's wrong with shrink_conversion_region soon.

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]