projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
xstat.in
diff --git
a/lib/xstat.in
b/lib/xstat.in
index
3f10ef3
..
77c367e
100644
(file)
--- 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.
/* 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-200
0
Free Software Foundation, Inc.
+ Copyright (C) 1997-200
1
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
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. */
/* 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] = '.';
new_file = xmalloc (len + 1 + 1);
memcpy (new_file, file, len);
new_file[len] = '.';