]> git.saurik.com Git - apple/system_cmds.git/blobdiff - getconf.tproj/pathconf.gperf
system_cmds-431.tar.gz
[apple/system_cmds.git] / getconf.tproj / pathconf.gperf
index 1b2064962a541cc27cb00b67ace0cad904edbd50..ebb317f7b48c971b904bca414aeb18df5718ecd1 100644 (file)
@@ -35,6 +35,7 @@ POSIX_REC_INCR_XFER_SIZE, _PC_REC_INCR_XFER_SIZE
 POSIX_REC_MAX_XFER_SIZE, _PC_REC_MAX_XFER_SIZE
 POSIX_REC_MIN_XFER_SIZE, _PC_REC_MIN_XFER_SIZE
 POSIX_REC_XFER_ALIGN, _PC_REC_XFER_ALIGN
+POSIX2_SYMLINKS, _PC_2_SYMLINKS
 SYMLINK_MAX, _PC_SYMLINK_MAX
 TRUSTEDBSD_ACL_EXTENDED, _PC_ACL_EXTENDED
 TRUSTEDBSD_ACL_PATH_MAX, _PC_ACL_PATH_MAX
@@ -67,7 +68,7 @@ find_pathconf(const char *name, int *key)
        }
 #ifdef APPLE_GETCONF_UNDERSCORE
        if(*name == '_')
-               alt = name + 1;
+               alt = (char *)name + 1;
        else {
                if((alt = (char *)alloca(strlen(name) + 2)) == NULL)
                        return 0;