<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch v9.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2021-09-23T23:39:05Z</updated>
<entry>
<title>cksum: fix -a crc on 64 bit big endian systems</title>
<updated>2021-09-23T23:39:05Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-23T21:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=56bff500c5e48ab9c6fc62b9d457b1f283288417'/>
<id>urn:sha1:56bff500c5e48ab9c6fc62b9d457b1f283288417</id>
<content type='text'>
* src/cksum.c (crc_sum_stream): On sparc64 for example,
a crc of 0 was printed due to mismatch in size of
variable copied between generator and output functions.
uint_fast32_t is generally 64 bits on 64 bit systems,
so we copy through an int to ensure we don't use the wrong
end of a 64 bit variable.
Reported by Nelson H. F. Beebe
</content>
</entry>
<entry>
<title>tail: fix detection of closed stdout on macOS</title>
<updated>2021-09-21T16:50:54Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-21T13:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a656db664daca129dba9c481e73eb4e76b9d0009'/>
<id>urn:sha1:a656db664daca129dba9c481e73eb4e76b9d0009</id>
<content type='text'>
* bootstrap.conf: We only need poll on Linux and AIX
where poll is not replaced.  Also resinstate dependence
on select so we can use it unconditionally.
* src/tail.c (check_output_alive): Reinstate use of select()
by default as poll was seen to be ineffective for this
application on macOS.
Fixes https://bugs.gnu.org/50714
</content>
</entry>
<entry>
<title>maint: clean up c++ style comments</title>
<updated>2021-09-21T15:22:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-21T15:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f8819b657f6a15249b5758c7b1160be97f8805cd'/>
<id>urn:sha1:f8819b657f6a15249b5758c7b1160be97f8805cd</id>
<content type='text'>
* src/expand-common.h: Remove commented variables.
* src/remove.h: Change to C style comment.
* src/tail.c: Likewise.
</content>
</entry>
<entry>
<title>doc: drop extraneous single quotes in help</title>
<updated>2021-09-20T20:42:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2021-09-18T16:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f6fc52a828c0778ff5d7c5ad794c2b2216229e88'/>
<id>urn:sha1:f6fc52a828c0778ff5d7c5ad794c2b2216229e88</id>
<content type='text'>
* src/digest.c (usage) [cksum --help]: Drop single quotes
around each checksum name.
* src/tee.c (usage) [tee --help]: Likewise.
</content>
</entry>
<entry>
<title>cksum: list Pádraig as coauthor</title>
<updated>2021-09-20T20:42:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2021-09-18T16:30:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=971aebfacc6d8f95207ce359235df63c0720537d'/>
<id>urn:sha1:971aebfacc6d8f95207ce359235df63c0720537d</id>
<content type='text'>
* src/digest.c (AUTHORS) [HASH_ALGO_CKSUM]: Add Pádraig as
cksum coauthor.
* AUTHORS: Likewise.
</content>
</entry>
<entry>
<title>doc: fix --help formatting for checksum utils</title>
<updated>2021-09-20T15:27:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-20T12:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=22d3751e0f6d36919238b20b1374abcc8e1dc447'/>
<id>urn:sha1:22d3751e0f6d36919238b20b1374abcc8e1dc447</id>
<content type='text'>
* src/digest.c (usage): Indicate that --length and --algorithm
require arguments.  Emit corresponding emit_mandatory_arg_note().
Use consistent alignment.
</content>
</entry>
<entry>
<title>cksum: support more transparent emulation of older utils</title>
<updated>2021-09-20T15:21:15Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-20T10:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=88b7ff98fe412a32e321d8cc76c896d0fb81c51c'/>
<id>urn:sha1:88b7ff98fe412a32e321d8cc76c896d0fb81c51c</id>
<content type='text'>
* src/digest.c: Allow using the --untagged option with --check,
so that `cksum -a md5 --untagged` used to emulate md5sum for example,
may be augmented with the --check option.  Also support the --tag
option with cksum, to allow overriding a previous --untagged setting.
* doc/coreutils.texi: Adjust accordingly.
* tests/misc/cksum-a.sh: Likewise.
</content>
</entry>
<entry>
<title>rmdir: fix uninitialized memory causing incorrect error</title>
<updated>2021-09-16T22:45:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-16T22:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=14ed8b8810508d284df21a06b14093537a24e4cf'/>
<id>urn:sha1:14ed8b8810508d284df21a06b14093537a24e4cf</id>
<content type='text'>
* src/rmdir.c (main): Only inspect the returned stat structure,
when stat(2) returns success.
</content>
</entry>
<entry>
<title>build: avoid new chmod.c warnings from upcoming GCC12</title>
<updated>2021-09-16T22:22:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2021-09-16T20:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3283cc7725bd7d070b772225b263e7f7718c8195'/>
<id>urn:sha1:3283cc7725bd7d070b772225b263e7f7718c8195</id>
<content type='text'>
Here are the warnings:
src/chmod.c:175:3: error: 'ch.new_mode' may be used uninitialized in\
    this function [-Werror=maybe-uninitialized]
  175 |   strmode (ch-&gt;new_mode, perms);
src/chmod.c:178:3: error: 'ch.old_mode' may be used uninitialized in\
    this function [-Werror=maybe-uninitialized]
  178 |   strmode (ch-&gt;old_mode, old_perms);

* src/chmod.c (process_file): Initialize ch.  Its new_mode and
old_mode fields could indeed be used uninitialized to form mode
strings, but those are used only when built from initialized members.
</content>
</entry>
<entry>
<title>digest: ignore empty lines when checking</title>
<updated>2021-09-16T19:39:28Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-16T11:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e6c57cf19b1e2660da1ceca92fc8837493cd157e'/>
<id>urn:sha1:e6c57cf19b1e2660da1ceca92fc8837493cd157e</id>
<content type='text'>
* src/digest.c (digest_check): Treat empty lines like comments,
as commented checksum files very often have empty lines.
* tests/misc/md5sum.pl: Adjust accordingly.
</content>
</entry>
</feed>
