diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-05 11:20:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-05 11:20:02 +0000 |
commit | 9f05072b097d1da6b6d44d9b579283004e4710f2 (patch) | |
tree | 99d2cae2bc6a3d75ec199337c05e23abe287e22e | |
parent | 005e766386680d157426232a50f8fc1b38a89d20 (diff) | |
download | coreutils-9f05072b097d1da6b6d44d9b579283004e4710f2.tar.xz |
(slash_aware_lstat): Correct a misleading comment.
-rw-r--r-- | lib/xstat.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/xstat.in b/lib/xstat.in index 3f10ef3b9..77c367eb7 100644 --- a/lib/xstat.in +++ b/lib/xstat.in @@ -4,7 +4,7 @@ /* Work around the bug in some systems whereby @xstat@ succeeds when given the zero-length file name argument. The @xstat@ from SunOS4.1.4 has this bug. - Copyright (C) 1997-2000 Free Software Foundation, Inc. + Copyright (C) 1997-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -80,8 +80,7 @@ slash_aware_lstat (const char *file, struct stat *sbuf) /* FILE refers to a symbolic link and the name ends with a slash. Append a `.' to FILE and repeat the lstat call. */ - /* Add one for the `.' we might have to append, and one more - for the trailing NUL. */ + /* Add one for the `.' we'll append, and one more for the trailing NUL. */ new_file = xmalloc (len + 1 + 1); memcpy (new_file, file, len); new_file[len] = '.'; |