From: Juanma Barranquero Date: Sat, 12 Apr 2008 09:15:10 +0000 (+0000) Subject: (Fexpand_file_name): Add declaration for `p' missing in previous change. X-Git-Tag: emacs-pretest-23.0.90~6308 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5acc0717259c46dbe2660358dca316957aaa5d7;p=emacs.git (Fexpand_file_name): Add declaration for `p' missing in previous change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 75be9df4b12..dec4f11e353 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-04-12 Juanma Barranquero + + * fileio.c (Fexpand_file_name): Add declaration for `p' missing in + previous change. + 2008-04-12 Stefan Monnier * fileio.c (Fexpand_file_name): Tighten the scope of `p' and `o' vars. @@ -20,7 +25,7 @@ 2008-04-10 Michael Albinus * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK - only after check for file name handler functions. Signal, when + only after check for file name handler functions. Signal, when native functionality is not supported. (syms_of_fileio): Declare it unconditionally. diff --git a/src/fileio.c b/src/fileio.c index 26b2ebdeee5..498d2bb192b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1545,6 +1545,7 @@ See also the function `substitute-in-file-name'. */) #ifdef WINDOWSNT if (IS_DIRECTORY_SEP (newdir[0]) && IS_DIRECTORY_SEP (newdir[1])) { + unsigned char *p; newdir = strcpy (alloca (strlen (newdir) + 1), newdir); p = newdir + 2; while (*p && !IS_DIRECTORY_SEP (*p)) p++;