search for: attr_bit_map_count

Displaying 2 results from an estimated 2 matches for "attr_bit_map_count".

2008 Jun 20
1
supporting HFS+ attributes and forks on a Linux rsync server?
....2 to support HFS+ attributes and forks on the client. I was assuming the Linux box needed the same version, and so tried compiling the patched rsync but got the following: syscall.c: In function `get_create_time': syscall.c:406: storage size of `attrList' isn't known syscall.c:409: `ATTR_BIT_MAP_COUNT' undeclared (first use in this function) syscall.c:409: (Each undeclared identifier is reported only once syscall.c:409: for each function it appears in.) syscall.c:410: `ATTR_CMN_CRTIME' undeclared (first use in this function) syscall.c:411: warning: implicit declaration of function `getat...
2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
...ys/stat.h> #include <unistd.h> int my_lchmod(const char *path, mode_t mode) { struct attrlist attrList; uint32_t m; /* manpage is wrong! not mode_t, but uint32_t is required */ memset(&attrList, 0, sizeof(attrList)); attrList.bitmapcount = ATTR_BIT_MAP_COUNT; attrList.commonattr = ATTR_CMN_ACCESSMASK; m = mode; return setattrlist(path, &attrList, &m, sizeof(m), FSOPT_NOFOLLOW); } int main(int argc, const char **argv) { struct stat st; const char *file; int perms; file = argv[1];...