1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.

* modechange.c: Likewise.  Simplify internals a bit.  Prohibit "+0".
This commit is contained in:
Paul Eggert
2005-05-01 14:28:38 +00:00
parent 71a7e54b0d
commit dfdf88d425

View File

@@ -1,3 +1,18 @@
2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
* modechange.h (mode_free): Remove; all callers changed to invoke
'free'.
* modechange.c: Likewise.
xstrtol.h, stdbool.h, stddef.h: Don't include; no longer needed.
(MODE_DONE): New constant.
(struct mode_change): Remove 'next' member.
(make_node_op_equals): New function; like the old one of the
same name, except it allocates an array.
(mode_compile, mode_create_from_ref): Use it.
(mode_compile): Allocate result as an array, not a linked list.
Parse octal string ourself, so that we catch mistakes like "+0".
(mode_adjust): Arg is an array, not a linked list.
2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
* tempname.c (S_ISDIR, S_IRUSR, S_IRUSR, S_IWUSR, S_IXUSR): Remove.