emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/callproc.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/callproc.c
Date: Mon, 08 Jul 2002 20:12:23 -0400

Index: emacs/src/callproc.c
diff -c emacs/src/callproc.c:1.188 emacs/src/callproc.c:1.189
*** emacs/src/callproc.c:1.188  Sun Jun 23 20:35:37 2002
--- emacs/src/callproc.c        Mon Jul  8 20:12:23 2002
***************
*** 787,793 ****
                size = decoding_buffer_size (&process_coding, nread);
                decoding_buf = (char *) xmalloc (size);
                
!               if (CODING_REQUIRE_DETECTION (&process_coding))
                  {
                    detect_coding (&process_coding, bufptr, nread);
                    if (process_coding.composing != COMPOSITION_DISABLED)
--- 787,798 ----
                size = decoding_buffer_size (&process_coding, nread);
                decoding_buf = (char *) xmalloc (size);
                
!               /* We can't use the macro CODING_REQUIRE_DETECTION
!                  because it always returns nonzero if the coding
!                  system requires EOL detection.  Here, we have to
!                  check only whether or not the coding system
!                  requires text-encoding detection.  */
!               if (process_coding.type == coding_type_undecided)
                  {
                    detect_coding (&process_coding, bufptr, nread);
                    if (process_coding.composing != COMPOSITION_DISABLED)



reply via email to

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