<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/modechange.c, branch v5.2.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.2.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.2.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2003-09-10T09:05:31Z</updated>
<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>
<entry>
<title>(mode_adjust): Fix error introduced on 1999-04-26</title>
<updated>2001-11-19T13:32:23Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-11-19T13:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=500578e250a903f5bbf8c740caae652adac372ba'/>
<id>urn:sha1:500578e250a903f5bbf8c740caae652adac372ba</id>
<content type='text'>
that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable
rather than group writable.  Patch by Juan F. Codagnone.
</content>
</entry>
<entry>
<title>normalize spelling in comment</title>
<updated>2001-01-07T09:20:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-01-07T09:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fa997616ff7030e3f74fc18996e1f90ae5f88a05'/>
<id>urn:sha1:fa997616ff7030e3f74fc18996e1f90ae5f88a05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not assume that mode_t uses the</title>
<updated>2000-12-29T10:32:09Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-12-29T10:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3336d7cf69601c496f2f3c428ebd25b66823a059'/>
<id>urn:sha1:3336d7cf69601c496f2f3c428ebd25b66823a059</id>
<content type='text'>
traditional octal encoding.  E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.

(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.
</content>
</entry>
<entry>
<title>Remove "2000" from Copyright line, as the file hasn't been</title>
<updated>2000-10-31T07:09:40Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-10-31T07:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a5810cd3de629d67f82cd548584049830cf2d50e'/>
<id>urn:sha1:a5810cd3de629d67f82cd548584049830cf2d50e</id>
<content type='text'>
changed this year other than in the copyright notice.
</content>
</entry>
<entry>
<title>(mode_compile): Use uintmax_t, not unsigned</title>
<updated>2000-01-12T06:49:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2000-01-12T06:49:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=551ab8474b497fe89f60a6d9d078c0cc6eeeaa8c'/>
<id>urn:sha1:551ab8474b497fe89f60a6d9d078c0cc6eeeaa8c</id>
<content type='text'>
long, to parse numeric modes.  Check for any unknown bits, not
just unknown bits left of the leftmost known bit.
</content>
</entry>
<entry>
<title>(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):</title>
<updated>1999-04-26T13:19:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>1999-04-26T13:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=82893aff556f8f6ffed37e0fdcce9d7aca50dfba'/>
<id>urn:sha1:82893aff556f8f6ffed37e0fdcce9d7aca50dfba</id>
<content type='text'>
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(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_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.
</content>
</entry>
<entry>
<title>(make_node_op_equals): New function.</title>
<updated>1999-03-30T04:51:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>1999-03-30T04:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a717cdf2d6e84d9580885d4a26723d665efd9848'/>
<id>urn:sha1:a717cdf2d6e84d9580885d4a26723d665efd9848</id>
<content type='text'>
(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.
</content>
</entry>
</feed>
