<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/modechange.c, branch v5.91</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.91</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.91'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2005-09-22T06:05:39Z</updated>
<entry>
<title>Sync from gnulib.</title>
<updated>2005-09-22T06:05:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-22T06:05:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f'/>
<id>urn:sha1:2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=116e6fb2443d140959ea042865cd67b95aab3c47'/>
<id>urn:sha1:116e6fb2443d140959ea042865cd67b95aab3c47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(mode_free): Remove; all callers changed to invoke 'free'.</title>
<updated>2005-05-01T14:26:50Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-05-01T14:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d4502755f4e738af6ff0a2e53176ab94d0c6c620'/>
<id>urn:sha1:d4502755f4e738af6ff0a2e53176ab94d0c6c620</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Include stat-macros.h, xalloc.h.</title>
<updated>2005-04-28T16:29:00Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-04-28T16:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=498bb2796fa76d15ad29d3fc15eff67c6abfa80b'/>
<id>urn:sha1:498bb2796fa76d15ad29d3fc15eff67c6abfa80b</id>
<content type='text'>
(S_ISDIR, 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_IRXWU):
(S_IRWXG, S_IRWXO, CHMOD_MODE_BITS):
Remove.  This is now stat-macros.h's job.
(talloc): Remove.  All callers replaced by xalloc, so that
our invokers don't have to worry about reporting memory failures.
(make_node_op_equals): Remove.
(MODE_ORDINARY_CHAGE, MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
New constants.
(struct mode_change): Moved here from modechange.h.
(mode_append_entry): Remove.
(mode_compile): Remove MASKED_OPS arg, since it encouraged
apps to have incorrect behavior.  Use simpler algorithm for head
and tail.  Don't futz with umask; that's now the job of mode_adjust.
Detect more invalid usages rather than having somewhat-random behavior.
Don't insert an "a=" action, as that leads to incorrect behavior.
(mode_compile, mode_create_from_ref): Return NULL on error instead
of an enum, since now there's only one way to have an error.  All
callers changed.
(mode_adjust): Accept new arg UMASK_VALUE, and interpret it
at the correct time.  Simplify calculation of "+u" and its ilk.
Don't mishandle "+X".
(mode_free): Remove "register" and localize decls.
</content>
</entry>
<entry>
<title>(mode_compile): Don't decrement a pointer that</title>
<updated>2004-09-24T07:00:59Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-09-24T07:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d7caebfe16375066910e6eb9818dd62a9ee169d5'/>
<id>urn:sha1:d7caebfe16375066910e6eb9818dd62a9ee169d5</id>
<content type='text'>
points to the start of a string, as the C Standard says the
resulting behavior is undefined.
</content>
</entry>
<entry>
<title>Update copyright.</title>
<updated>2004-07-30T04:06:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-07-30T04:06:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6d02317a83678aca779d643e6645bd7ddafe1d5b'/>
<id>urn:sha1:6d02317a83678aca779d643e6645bd7ddafe1d5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include &lt;stdbool.h&gt;.</title>
<updated>2004-07-30T04:05:50Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-07-30T04:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f9663b8c838db9524c5fac5cfd4689b59c1bfc5d'/>
<id>urn:sha1:f9663b8c838db9524c5fac5cfd4689b59c1bfc5d</id>
<content type='text'>
(mode_compile): Use bool when appropriate.
</content>
</entry>
<entry>
<title>Include &lt;stdlib.h&gt; unconditionally.</title>
<updated>2003-09-10T09:05:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-09-10T09:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ec98adbc22bbb64e9c5cb0903da23f8ababf5702'/>
<id>urn:sha1:ec98adbc22bbb64e9c5cb0903da23f8ababf5702</id>
<content type='text'>
(malloc): Remove decl.
</content>
</entry>
<entry>
<title>Include &lt;stddef.h&gt;.</title>
<updated>2003-06-06T20:17:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-06-06T20:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=01170d044ad221b4e465a5aaa57ccca4314cee8a'/>
<id>urn:sha1:01170d044ad221b4e465a5aaa57ccca4314cee8a</id>
<content type='text'>
(NULL): Don't define, since &lt;stddef.h&gt; does that.
</content>
</entry>
<entry>
<title>(mode_compile): Add cast to avoid warning about</title>
<updated>2001-12-09T22:54:19Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-12-09T22:54:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0928d7988913af974b8c3223d25bf0a91008d9a8'/>
<id>urn:sha1:0928d7988913af974b8c3223d25bf0a91008d9a8</id>
<content type='text'>
`signed and unsigned type in conditional expression'.
</content>
</entry>
</feed>
