X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5cb31dcf92055e7341f710fb10e063fbb4000fe5..65854cf91aacc104c0bda62ba4646f2057cd0bb4:/rsync.h diff --git a/rsync.h b/rsync.h index 2a405320..89af08cd 100644 --- a/rsync.h +++ b/rsync.h @@ -117,8 +117,8 @@ #define XFLG_ANCHORED2ABS (1<<2) #define XFLG_ABS_IF_SLASH (1<<3) -#define PERMS_REPORT (1<<0) -#define PERMS_SKIP_MTIME (1<<1) +#define ATTRS_REPORT (1<<0) +#define ATTRS_SKIP_MTIME (1<<1) #define FULL_FLUSH 1 #define NORMAL_FLUSH 0 @@ -787,7 +787,8 @@ extern int errno; #define INADDR_NONE 0xffffffff #endif -#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode)) +#define IS_SPECIAL(mode) (S_ISSOCK(mode) || S_ISFIFO(mode)) +#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode)) /* Initial mask on permissions given to temporary files. Mask off setuid bits and group access because of potential race-condition security