From: Paul Eggert Date: Sun, 1 May 2005 14:28:38 +0000 (+0000) Subject: * modechange.h (mode_free): Remove; all callers changed to invoke 'free'. X-Git-Tag: CPPI-1_12~884 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfdf88d425d6a66a07b52334d675e884452ed768;p=thirdparty%2Fcoreutils.git * modechange.h (mode_free): Remove; all callers changed to invoke 'free'. * modechange.c: Likewise. Simplify internals a bit. Prohibit "+0". --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 9e45597db8..3b8bc395b1 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,18 @@ +2005-05-01 Paul Eggert + + * 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 * tempname.c (S_ISDIR, S_IRUSR, S_IRUSR, S_IWUSR, S_IXUSR): Remove.