[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32select.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32select.c |
Date: |
Wed, 30 Jun 2004 19:32:59 -0400 |
Index: emacs/src/w32select.c
diff -c emacs/src/w32select.c:1.32 emacs/src/w32select.c:1.33
*** emacs/src/w32select.c:1.32 Sun Apr 18 18:34:03 2004
--- emacs/src/w32select.c Wed Jun 30 23:30:39 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/w32select.c,
Kenichi Handa <=