[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c [emacs-unicode-2]
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c [emacs-unicode-2] |
Date: |
Tue, 28 Sep 2004 00:44:11 -0400 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.492.2.21 emacs/src/fileio.c:1.492.2.22
*** emacs/src/fileio.c:1.492.2.21 Wed Sep 15 09:00:00 2004
--- emacs/src/fileio.c Tue Sep 28 04:37:26 2004
***************
*** 256,264 ****
{
Lisp_Object errstring;
int errorno = errno;
synchronize_system_messages_locale ();
! errstring = code_convert_string_norecord (build_string (strerror (errorno)),
Vlocale_coding_system, 0);
while (1)
--- 256,267 ----
{
Lisp_Object errstring;
int errorno = errno;
+ char *str;
synchronize_system_messages_locale ();
! str = strerror (errorno);
! errstring = code_convert_string_norecord (make_unibyte_string (str,
! strlen (str)),
Vlocale_coding_system, 0);
while (1)
***************
*** 2251,2257 ****
convert what we substitute into multibyte. */
while (*o)
{
! int c = unibyte_char_to_multibyte (*o++);
x += CHAR_STRING (c, x);
}
}
--- 2254,2261 ----
convert what we substitute into multibyte. */
while (*o)
{
! int c = unibyte_char_to_multibyte (*o);
! o++;
x += CHAR_STRING (c, x);
}
}