comparison src/fileio.c @ 94038:a66451222c6a

(Fexpand_file_name): Add declaration for `p' missing in previous change.
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 12 Apr 2008 09:13:14 +0000
parents d864a5e618e0
children b9c54321b685
comparison
equal deleted inserted replaced
94037:d864a5e618e0 94038:a66451222c6a
1543 if (IS_DIRECTORY_SEP (nm[0]) && collapse_newdir) 1543 if (IS_DIRECTORY_SEP (nm[0]) && collapse_newdir)
1544 { 1544 {
1545 #ifdef WINDOWSNT 1545 #ifdef WINDOWSNT
1546 if (IS_DIRECTORY_SEP (newdir[0]) && IS_DIRECTORY_SEP (newdir[1])) 1546 if (IS_DIRECTORY_SEP (newdir[0]) && IS_DIRECTORY_SEP (newdir[1]))
1547 { 1547 {
1548 unsigned char *p;
1548 newdir = strcpy (alloca (strlen (newdir) + 1), newdir); 1549 newdir = strcpy (alloca (strlen (newdir) + 1), newdir);
1549 p = newdir + 2; 1550 p = newdir + 2;
1550 while (*p && !IS_DIRECTORY_SEP (*p)) p++; 1551 while (*p && !IS_DIRECTORY_SEP (*p)) p++;
1551 p++; 1552 p++;
1552 while (*p && !IS_DIRECTORY_SEP (*p)) p++; 1553 while (*p && !IS_DIRECTORY_SEP (*p)) p++;