From: Wayne Davison Date: Tue, 22 May 2007 05:59:02 +0000 (+0000) Subject: Added a comment to the do_chmod() to mark it as a discouraged function. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b5ae4e25c26f006e686dcefde9fe7d489f840248 Added a comment to the do_chmod() to mark it as a discouraged function. --- diff --git a/syscall.c b/syscall.c index ebcb9009..d23f2ebf 100644 --- 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