Disable the optimization that treats include-only files as a special case
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 258695f..92823bb 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -339,6 +339,7 @@ struct exclude_struct {
        char *orig;
        char *pattern;
        int regular_exp;
+       int fnmatch_flags;
        int include;
        int directory;
        int local;
@@ -461,9 +462,10 @@ 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
+/* Initial mask on permissions given to temporary files.  Mask off setuid
+     bits and group access because of potential race-condition security
+     holes, and mask other access because mode 707 is bizarre */
+#define INITPERMMASK 0700
 
 /* handler for null strings in printf format */
 #define NS(s) ((s)?(s):"<NULL>")