search for: bb1a9a5d

Displaying 1 result from an estimated 1 matches for "bb1a9a5d".

2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
Amazing no one else has written this... Someone with an intel mac should test this to check the uint32_t works there too (I have a powerpc). #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/attr.h> /* !!! */ #include <sys/stat.h> #include <unistd.h> int my_lchmod(const char *path, mode_t mode) { struct attrlist attrList;