<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://www.git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://www.git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/'/>
<updated>2026-05-16T02:19:41Z</updated>
<entry>
<title>maint: chroot: remove unnecessary root-dev-ino.h include</title>
<updated>2026-05-16T02:19:41Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-16T02:19:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=7d2b55102d3fd647525b77b4153dcb3245015d07'/>
<id>urn:sha1:7d2b55102d3fd647525b77b4153dcb3245015d07</id>
<content type='text'>
The only use of this header was removed in commit d52092958 (chroot:
call chroot() unconditionally to handle bind mounted "/", 2014-10-15).

* src/chroot.c: Don't include root-dev-ino.h.
</content>
</entry>
<entry>
<title>maint: expr: remove unnecessary xstrtol.h include</title>
<updated>2026-05-16T02:11:37Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-16T02:11:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=13bb78af00359ad41783be6a6f7aa7711b45237b'/>
<id>urn:sha1:13bb78af00359ad41783be6a6f7aa7711b45237b</id>
<content type='text'>
It has not been needed since commit 130464448 (maint: use Gnulib libgmp
module, 2020-07-07).

* src/expr.c: Don't include xstrtol.h.
</content>
</entry>
<entry>
<title>maint: basenc: remove unnecessary xdectoint.h include</title>
<updated>2026-05-16T02:00:37Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-16T02:00:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=c1c58b7449f8a11a92b2776ba7ef45b6fb837171'/>
<id>urn:sha1:c1c58b7449f8a11a92b2776ba7ef45b6fb837171</id>
<content type='text'>
The only use of this header was removed in commit 97d8dcc5c (basenc:
prefer signed to unsigned integers, 2021-08-27).

* src/basenc.c: Don't include xdectoint.h.
</content>
</entry>
<entry>
<title>maint: shred: remove unnecessary setjmp.h include</title>
<updated>2026-05-16T01:30:13Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-16T01:30:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=2dbe5e26ff48fa36bf8f700d12d68ef243f82733'/>
<id>urn:sha1:2dbe5e26ff48fa36bf8f700d12d68ef243f82733</id>
<content type='text'>
It has not been needed since commit 9fd2c631b (Remove all uses of
signals; modern hosts have /dev/random and don't need this gorp.,
2005-04-09).

* src/shred.c: Don't include setjmp.h.
</content>
</entry>
<entry>
<title>doc: shred: mention unsupported file types</title>
<updated>2026-05-14T03:45:47Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-13T01:35:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=45bbd75fb03564e58b7b1a2cc48809bd6936b02f'/>
<id>urn:sha1:45bbd75fb03564e58b7b1a2cc48809bd6936b02f</id>
<content type='text'>
* src/shred.c (usage): Mention the behavior of 'shred' on FIFOs,
sockets, and terminals.
* doc/coreutils.texi (shred invocation): Likewise.
Addresses https://bugs.gnu.org/30177
</content>
</entry>
<entry>
<title>maint: pacify GCC 16 -Wuseless-cast</title>
<updated>2026-05-11T06:42:26Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2026-05-11T06:29:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=834ea48535b16c64db414f3b610ae4a2ae98c6e8'/>
<id>urn:sha1:834ea48535b16c64db414f3b610ae4a2ae98c6e8</id>
<content type='text'>
This mostly either removes casts if they are always no-ops, or
replaces casts (TYPE)(EXPR) with compound literals (TYPE){EXPR}.
Compound literals are a bit safer anyway, as casts are too
powerful in C.
* src/cksum_avx2.c (cksum_avx2):
* src/cksum_avx512.c (cksum_avx512):
* src/cksum_crc.c (cksum_slice8):
* src/cksum_pclmul.c (cksum_pclmul):
* src/cp-hash.c (remember_copied):
* src/numfmt.c (simple_strtod_float):
* src/system.h (x_timestyle_match):
Omit no-op casts.
* src/cp-hash.c (src_to_dest_hash):
* src/dd.c (dd_copy):
* src/df.c (devlist_hash):
* src/env.c (splitbuf_append_byte):
* src/getlimits.c (print_int, main):
* src/ls.c (dev_ino_hash):
* src/truncate.c (do_ftruncate):
Replace casts with compound literals.
* src/factor.c: Ignore -Wuseless-cast, as we include the imported
longlong.h file, which has many of them.
* src/numfmt.c (powerld): 2nd arg is now ptrdiff_t, not int, so
that integers are not silently mishandled in outlandish cases.
</content>
</entry>
<entry>
<title>shred: don't block when opening FIFOs with no readers</title>
<updated>2026-05-10T20:45:44Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-09T22:43:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=f77f365ef5c93614f42db4f087d67a3f7aae276a'/>
<id>urn:sha1:f77f365ef5c93614f42db4f087d67a3f7aae276a</id>
<content type='text'>
* NEWS: Mention the bug fix.
* src/shred.c (wipefile): Open the file with O_NONBLOCK.
* tests/shred/fifo.sh: New file.
* tests/local.mk (all_tests): Add the new test.
</content>
</entry>
<entry>
<title>doc: date: group format sequences by function</title>
<updated>2026-05-09T16:47:47Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-05-09T16:46:48Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=77cf01877720de6260132c12bd2a4af47b7ef454'/>
<id>urn:sha1:77cf01877720de6260132c12bd2a4af47b7ef454</id>
<content type='text'>
* src/date.c (usage): Grouping alphabetically is less useful.
Suggested by Bruno Haible.
</content>
</entry>
<entry>
<title>doc: date: show examples for format sequences in --help</title>
<updated>2026-05-08T19:12:46Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-05-07T20:08:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=2320df8fd62829740f2767ceda74421b1429757c'/>
<id>urn:sha1:2320df8fd62829740f2767ceda74421b1429757c</id>
<content type='text'>
* src/date.c (usage): Show example to aid scanning
of format sequences.
</content>
</entry>
<entry>
<title>shuf: prefer fwrite over fputs and fputc</title>
<updated>2026-05-08T06:32:52Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-05-07T03:39:20Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/coreutils/commit/?id=ebe2b7513e36fc3be99c9c57b0bc2c136e387fae'/>
<id>urn:sha1:ebe2b7513e36fc3be99c9c57b0bc2c136e387fae</id>
<content type='text'>
On an AMD Ryzen 7 3700X running GNU/Linux:

    $ timeout 30 taskset 1 ./src/shuf-prev \
        -r -i 1000000-1000000 | pv -r &gt; /dev/null
    [ 302MiB/s]
    $ timeout 30 taskset 1 ./src/shuf \
        -r -i 1000000-1000000 | pv -r &gt; /dev/null
    [ 434MiB/s]

* src/shuf.c (print_number): New function.
(write_permuted_numbers, write_random_numbers): Use it.
* tests/shuf/shuf.sh: Add a test case to run 'shuf -i' with varying
numbers of digits to check that the string conversion is correct.
</content>
</entry>
</feed>
