]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Added a comment to the do_chmod() to mark it as a discouraged function.
authorWayne Davison <wayned@samba.org>
Tue, 22 May 2007 05:59:02 +0000 (05:59 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 22 May 2007 05:59:02 +0000 (05:59 +0000)
syscall.c

index ebcb9009194e99104787f0e8a43f2af7e94520fd..d23f2ebfc4a9ade785824ad7ade125c77db971fa 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 do_chmod(pathname, mode);
+               return do_chmod(pathname, mode); /*DISCOURAGED FUNCTION*/
 #else
                return 0;
 #endif