search for: fsopt_nofollow

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

2008 Jun 20
1
supporting HFS+ attributes and forks on a Linux rsync server?
...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 `getattrlist' syscall.c:411: `FSOPT_NOFOLLOW' undeclared (first use in this function) syscall.c:406: warning: unused variable `attrList' syscall.c: In function `set_create_time': syscall.c:418: storage size of `attrList' isn't known syscall.c:428: `ATTR_BIT_MAP_COUNT' undeclared (first use in this function) syscall.c:4...
2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
...age 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]; perms = strtol(argv[2], 0, 0); if (lstat(file, &st) != 0) { perror("stat"); return 1;...