Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a comment to the do_chmod() to mark it as a discouraged function.
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
ebcb900
..
d23f2eb
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-112,7
+112,7
@@
int do_mknod(const char *pathname, mode_t mode, dev_t dev)
return -1;
close(sock);
#ifdef HAVE_CHMOD
return -1;
close(sock);
#ifdef HAVE_CHMOD
- return do_chmod(pathname, mode);
+ return do_chmod(pathname, mode);
/*DISCOURAGED FUNCTION*/
#else
return 0;
#endif
#else
return 0;
#endif