(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)
commit050d93b8101576c277d7abff717540d4449f9b13
tree3e5db6f3919db884a3f9ed1690f9430efe82c706
parent06b7dd0c294f0bed501aaab2c6701d8a9192f1ff
(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