(setst, ftypelet, mode_string): Use proper mode_t types and macros.
authorJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:10:11 +0000 (13:10 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:10:11 +0000 (13:10 +0000)
commitc1e374291491a893a9cd3f00b6d6aa0ece932ec6
tree6aa03c7c897716f31906972483dd6df73bb3c7b2
parent157b3ef61f919764963bb6cbfc4b25764bb28a4c
(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined.
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.
lib/filemode.c