From 67222dc864857a80e192fc1472f41a62b40ef7b1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 5 Nov 2001 11:20:02 +0000 Subject: [PATCH] (slash_aware_lstat): Correct a misleading comment. --- lib/xstat.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/xstat.in b/lib/xstat.in index 3f10ef3b93..77c367eb73 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] = '.'; -- 2.30.2