(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
authorJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:19:37 +0000 (13:19 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:19:37 +0000 (13:19 +0000)
commit82893aff556f8f6ffed37e0fdcce9d7aca50dfba
tree08913c5a94e385351364f996d870147e01836faf
parentc262673191ef7a68c3ed5c478e89a1f372d46f2d
(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP,
S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.
lib/modechange.c