/[emacs]/emacs/src/fileio.c
ViewVC logotype

Diff of /emacs/src/fileio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.492.2.21 by miles, Wed Sep 15 09:00:00 2004 UTC revision 1.492.2.22 by handa, Tue Sep 28 04:37:26 2004 UTC
# Line 256  report_file_error (string, data) Line 256  report_file_error (string, data)
256  {  {
257    Lisp_Object errstring;    Lisp_Object errstring;
258    int errorno = errno;    int errorno = errno;
259      char *str;
260    
261    synchronize_system_messages_locale ();    synchronize_system_messages_locale ();
262    errstring = code_convert_string_norecord (build_string (strerror (errorno)),    str = strerror (errorno);
263      errstring = code_convert_string_norecord (make_unibyte_string (str,
264                                                                     strlen (str)),
265                                              Vlocale_coding_system, 0);                                              Vlocale_coding_system, 0);
266    
267    while (1)    while (1)
# Line 2251  duplicates what `expand-file-name' does. Line 2254  duplicates what `expand-file-name' does.
2254                 convert what we substitute into multibyte.  */                 convert what we substitute into multibyte.  */
2255              while (*o)              while (*o)
2256                {                {
2257                  int c = unibyte_char_to_multibyte (*o++);                  int c = unibyte_char_to_multibyte (*o);
2258                    o++;
2259                  x += CHAR_STRING (c, x);                  x += CHAR_STRING (c, x);
2260                }                }
2261            }            }

Legend:
Removed from v.1.492.2.21  
changed lines
  Added in v.1.492.2.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26