Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88ca68
)
Correct over-zealous edit for UNICOS.
author
Martin Pool
<mbp@samba.org>
Mon, 6 Aug 2001 12:23:50 +0000
(12:23 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 6 Aug 2001 12:23:50 +0000
(12:23 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
27025df
..
bb6149e
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-149,7
+149,8
@@
int readlink_stat(const char *Path, STRUCT_STAT *Buffer, char *Linkbuf)
return -1;
}
if (S_ISLNK(Buffer->st_mode)) {
- if (readlink((char *) Path, Linkbuf, MAXPATHLEN-1) == -1) {
+ int l;
+ if ((l = readlink((char *) Path, Linkbuf, MAXPATHLEN-1))== -1) {
return -1;
}
Linkbuf[l] = 0;