<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/gl, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2026-04-06T14:52:56Z</updated>
<entry>
<title>cut,fold,expand,unexpand: ensure we process all available characters</title>
<updated>2026-04-06T14:52:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-04-02T19:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=57c87043f6cdb6aeb043b78d607a43a9ae615430'/>
<id>urn:sha1:57c87043f6cdb6aeb043b78d607a43a9ae615430</id>
<content type='text'>
* gl/lib/mbbuf.h: Adjust mbbuf_fill() to process full characters
in the slop at the end of a read().  Previously valid characters
in the last MCEL_LEN_MAX bytes were ignored until the next read().
* src/cut.c (cut_fields_bytesearch): Adjust to the new naming.
* NEWS: Mention the fold(1) responsiveness fix, which was
improved with the change from fread() to read(),
and completed with this patch.
</content>
</entry>
<entry>
<title>cut: ensure responsive input processing</title>
<updated>2026-04-05T12:15:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-04-01T18:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d757d32f86bfa1b95d571a9ee566eec9d25b9d51'/>
<id>urn:sha1:d757d32f86bfa1b95d571a9ee566eec9d25b9d51</id>
<content type='text'>
* gl/lib/mbbuf.h (fill_buf): Switch from fread() to read()
as the former retries read() internally to fill the buffer.
* src/cut.c: Adjust accordingly, and avoid getc() interface entirely.
* bootstrap.h: Depend explicitly on fseterr.  This is already depended
on transitively, so should not introduce new build portability issues.
</content>
</entry>
<entry>
<title>maint: cut: simplify mbbuf_fill</title>
<updated>2026-04-05T12:15:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-03-26T16:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7ceb4c348b8b859525ca857298a4149bf4b4f0ae'/>
<id>urn:sha1:7ceb4c348b8b859525ca857298a4149bf4b4f0ae</id>
<content type='text'>
We can only byte search with uni-byte or utf-8.
utf-8 implicitly can't false match a delimiter at buffer boundary.
So don't worry about finding the exact utf8 boundary at end of buffer,
rather just ensuring the buffer always starts with a valid character
(by ensuring MCEL_LEN_MAX-1 moved to start of buffer on each refill).
</content>
</entry>
<entry>
<title>cut: add utf8 helper to mbbuf</title>
<updated>2026-04-05T12:15:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-03-16T12:45:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ba7c1fbadb2d4aaf0dd211d545eca0b220b36259'/>
<id>urn:sha1:ba7c1fbadb2d4aaf0dd211d545eca0b220b36259</id>
<content type='text'>
* gl/lib/mbbuf.h: To safely search a bounded buffer,
without needed to have unbounded memory with getndelim2.

TODO: rename mbbuf_utf8_safe_prefix to mbbuf_fill_utf8
</content>
</entry>
<entry>
<title>sort,split,yes: ensure pipe and pipe2 don't open standard descriptors</title>
<updated>2026-03-18T06:08:37Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-03-18T06:06:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f421d0112890ffa670cf789aba55e8bdb19c2f42'/>
<id>urn:sha1:f421d0112890ffa670cf789aba55e8bdb19c2f42</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add pipe2-safer.
* cfg.mk (sc_require_unistd_safer): New rule for 'make syntax-check'.
* gl/lib/fd-reopen.c: Include unistd--.h instead of unistd.h.
* src/sort.c: Include unistd--.h.
* src/split.c: Likewise.
* src/yes.c: Likewise.
</content>
</entry>
<entry>
<title>maint: prefer memset_explicit to explicit_bzero</title>
<updated>2026-03-08T00:16:01Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-03-08T00:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ab80700bd2a6d11cfe17f8de0313e2ac13260965'/>
<id>urn:sha1:ab80700bd2a6d11cfe17f8de0313e2ac13260965</id>
<content type='text'>
The explicit_bzero function is a common extension, but memset_explicit
was standardized in C23. It will likely become more portable in the
future, and Gnulib provides an implementation if needed.

* bootstrap.conf (gnulib_modules): Add memset_explicit. Remove
explicit_bzero.
* gl/lib/randint.c (randint_free): Use memset_explicit instead of
explicit_bzero.
* gl/lib/randread.c (randread_free_body): Likewise.
</content>
</entry>
<entry>
<title>fold: fix output truncation with 0xFF bytes in input</title>
<updated>2026-03-04T17:45:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-03-04T16:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a85e9182b1d173c26205dada54133cd9e9174fc1'/>
<id>urn:sha1:a85e9182b1d173c26205dada54133cd9e9174fc1</id>
<content type='text'>
On signed char platforms, 0xFF was converted to -1
which matches MBBUF_EOF, causing fold to stop processing.

* NEWS: Mention the bug fix.
* gl/lib/mbbuf.h: Avoid sign extension on signed char platforms.
* tests/fold/fold-characters.sh: Adjust test case.
Reported at https://src.fedoraproject.org/rpms/coreutils/pull-request/20
</content>
</entry>
<entry>
<title>maint: remove local maintainer-makefile adjustment</title>
<updated>2026-02-05T12:58:35Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-02-05T12:58:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=417e43327caf008dcf4eb11ba7edcf1d1da986c9'/>
<id>urn:sha1:417e43327caf008dcf4eb11ba7edcf1d1da986c9</id>
<content type='text'>
* gl/top/maint.mk.diff: Remove as the fix is now in gnulib.
* gl/local.mk: Remove the diff reference.
</content>
</entry>
<entry>
<title>maintainer-makefile: propagate MAKEINFO to gendocs</title>
<updated>2026-02-02T21:20:43Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-02-02T20:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d9fb823121b1453359d0c6ed8926d4dbb156c59b'/>
<id>urn:sha1:d9fb823121b1453359d0c6ed8926d4dbb156c59b</id>
<content type='text'>
Make this change temporarily in coreutils.
Move to gnulib after v9.10 is released.

* top/maint.mk (web-manual): Propagate MAKEINFO explicitly,
rather than requiring it exported in the environment,
which can be awkward on Solaris make for example.
</content>
</entry>
<entry>
<title>maint: prefer NULL to nullptr</title>
<updated>2026-01-18T15:55:38Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-18T15:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=71ea30a7422125dd644f8f0c389dda98aee907fc'/>
<id>urn:sha1:71ea30a7422125dd644f8f0c389dda98aee907fc</id>
<content type='text'>
NULL is best for C as discussed at:
https://bugs.gnu.org/66221#53

* bootstrap.conf: Remove dependency on nullptr.
* s/nullptr/NULL/.
</content>
</entry>
</feed>
