fixed a race condition in rsync that opened a security hole. The
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 345144d..deb20a2 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -437,3 +437,6 @@ extern int errno;
 
 #define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode))
 
+#ifndef ACCESSPERMS
+#define ACCESSPERMS 0777
+#endif