Mercurial > hg > octave-lyh > gnulib-hg
changeset 3596:16658605eb9c
(slash_aware_lstat): Correct a misleading comment.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 05 Nov 2001 11:20:02 +0000 |
parents | 4b16a4725c85 |
children | ddf991975cb6 |
files | lib/xstat.in |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ /* 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] = '.';