emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/w32select.c [lexbind]
Date: Tue, 06 Jul 2004 06:56:36 -0400

Index: emacs/src/w32select.c
diff -c emacs/src/w32select.c:1.23.4.4 emacs/src/w32select.c:1.23.4.5
*** emacs/src/w32select.c:1.23.4.4      Tue Apr 27 14:08:52 2004
--- emacs/src/w32select.c       Tue Jul  6 10:27:02 2004
***************
*** 130,135 ****
--- 130,137 ----
  
    BLOCK_INPUT;
  
+   /* Include the terminating NULL character in the source of
+      conversion.  */
    nbytes = SBYTES (string) + 1;
    src = SDATA (string);
    dst = src;
***************
*** 208,214 ****
          {
            string = run_pre_post_conversion_on_str (string, &coding, 1);
            src = SDATA (string);
!           nbytes = SBYTES (string);
          }
        coding.src_multibyte = 1;
        coding.dst_multibyte = 0;
--- 210,218 ----
          {
            string = run_pre_post_conversion_on_str (string, &coding, 1);
            src = SDATA (string);
!           /* Include the terminating NULL character in the source of
!              conversion.  */
!           nbytes = SBYTES (string) + 1;
          }
        coding.src_multibyte = 1;
        coding.dst_multibyte = 0;




reply via email to

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