X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7b6fa00ff8abf063dae4a974fc824d430d228d14..b5c6a6aeeb7d526e023454ea681b7381945bced8:/rsync.h diff --git a/rsync.h b/rsync.h index e6bff06a..a5715a3d 100644 --- a/rsync.h +++ b/rsync.h @@ -517,9 +517,9 @@ struct file_struct { struct hlink *links; } link_u; time_t modtime; - mode_t mode; uid_t uid; gid_t gid; + mode_t mode; uchar flags; /* this item MUST remain last */ }; @@ -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