X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Frealpath.c;h=78ccc25a6278efc37b225119b3890f845f4f2104;hb=0680bf5c284a73aaa6e267c4b0f1363d2cb48739;hp=3af9c9327f0cf1adc0219de0697ee198a72aaea5;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/realpath.c b/src/realpath.c index 3af9c93..78ccc25 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -73,8 +73,8 @@ char resolved_path []; char copy_path[PATH_MAX]; char *new_path = resolved_path; char *max_path; - int readlinks = 0; #ifdef S_IFLNK + int readlinks = 0; char link_path[PATH_MAX]; int n; #endif @@ -87,11 +87,11 @@ char resolved_path []; /* ** In NT we have two different cases: (1) the path name begins ** with a drive letter, e.g., "C:"; and (2) the path name begins - ** with just a slash, which roots to the current drive. In the + ** with just a slash, which roots to the current drive. In the ** first case we are going to leave things alone, in the second ** case we will prepend the drive letter to the given path. ** Note: So far in testing, I'm only seeing case #1, even though - ** I've tried to get the other cases to happen. + ** I've tried to get the other cases to happen. ** August Hill, 31 Aug 1997. ** ** Check for a driver letter...C:/...