1999-03-28 Jim Meyering <meyering@ascend.com>
+ `chmod =OP' did not properly apply the umask
+ * lib/modechange.c (make_node_op_equals): New function.
+ (mode_append_entry): Likewise.
+ (mode_compile): When none of [ugoa] is specified in an `=OP' change
+ mode request, insert a `=0' entry into the linked list so that all
+ bits are cleared first. Use the new functions.
+ Reported by Andrew Dalke.
+
+ New test for the above.
* configure.in (AC_OUTPUT): Add tests/chmod/Makefile.
* tests/Makefile.am (SUBDIRS): Add chmod.
* tests/chmod: New directory
* lib/modechange.c (mode_compile): Upon allocation failure, free
everything starting with the head, not the tail.
- * src/install.c (strip): Use pid_t, not int.
- From John Bley.
+ * src/install.c (strip): Use pid_t, not int. From John Bley.
1999-03-26 Jim Meyering <meyering@ascend.com>