<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch v9.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-01-16T20:11:14Z</updated>
<entry>
<title>ls: Fix compilation error on CentOS 6</title>
<updated>2025-01-16T20:11:14Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2025-01-16T19:31:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0c195b63ea8ecaea4f26fb70522780f21be64bd0'/>
<id>urn:sha1:0c195b63ea8ecaea4f26fb70522780f21be64bd0</id>
<content type='text'>
* src/ls.c (XATTR_NAME_CAPS): Define fallback.
</content>
</entry>
<entry>
<title>sort: fix --debug buffer overrun</title>
<updated>2025-01-16T17:21:42Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-01-16T17:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e07161d4af89dbf82311ca396ac0916aa90b7301'/>
<id>urn:sha1:e07161d4af89dbf82311ca396ac0916aa90b7301</id>
<content type='text'>
* src/sort.c (debug_key): Fix undefined behavior when a key ends
before it starts.  Problem reported by Bruno Haible
&lt;https://bugs.gnu.org/75606&gt;.
</content>
</entry>
<entry>
<title>yes: avoid failure on CHERI protected systems</title>
<updated>2025-01-15T22:16:30Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T22:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=261f13bcf84a6f7a3241bab48c074879db789fca'/>
<id>urn:sha1:261f13bcf84a6f7a3241bab48c074879db789fca</id>
<content type='text'>
* src/yes.c (main): Don't reuse the argv array as CHERI's
capability bounds do not allow for that, failing like:
  $ yes $(seq 156) | head -n1
  In-address space security exception (core dumped)
</content>
</entry>
<entry>
<title>tac: avoid out of bounds access</title>
<updated>2025-01-15T17:42:55Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T17:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d60e550ed0ba67455a5952fe8adf27dacf47e680'/>
<id>urn:sha1:d60e550ed0ba67455a5952fe8adf27dacf47e680</id>
<content type='text'>
This was flagged on CheriBSD on ARM Morello with the error:
"In-address space security exception (core dumped)"
triggered with: tac -s '' /dev/null

* src/tac.c (main): Ensure we don't read beyond the
end of the supplied optarg.
</content>
</entry>
<entry>
<title>maint: avoid syntax-check failure</title>
<updated>2025-01-15T12:07:52Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-15T12:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8b05659eded3ff0518743e0e553f2b76a6b87345'/>
<id>urn:sha1:8b05659eded3ff0518743e0e553f2b76a6b87345</id>
<content type='text'>
* src/cksum.c: Use spaces to indent, not tabs.
</content>
</entry>
<entry>
<title>cksum: port to Oracle Developer Studio 12.6</title>
<updated>2025-01-15T03:44:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-01-15T03:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b8524614765be11d36daa2bef73f9e8f035cb8ff'/>
<id>urn:sha1:b8524614765be11d36daa2bef73f9e8f035cb8ff</id>
<content type='text'>
* src/cksum.c (cksum_fp_t): New typedef.
(pclmul_supported, avx2_supported, avx512_supported)
(vmull_supported): Return this new type instead of bool.
All callers changed.  That way, callers do not need to
refer to functions like cksum_avx512 that might not
exist on this platform.  Although GCC optimizes such
references away, the C standard does not require this
optimization.
</content>
</entry>
<entry>
<title>ls: readdir errno fixes</title>
<updated>2025-01-13T18:44:18Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-01-13T18:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0032e336e50c86186a01dbfa77364bc9c12235c1'/>
<id>urn:sha1:0032e336e50c86186a01dbfa77364bc9c12235c1</id>
<content type='text'>
* src/ls.c (print_dir): Fix bug: file_failure can set errno to
something other than EOVERFLOW but the code assumed it didn’t.
Also, omit ENOENT bug workaround with glibc 2.3 and later,
for consistency with Gnulib.
</content>
</entry>
<entry>
<title>tail: fix regression in open() flags used</title>
<updated>2025-01-13T17:24:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-13T16:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=527d331af451f809f87fac846a8bd5a93ac4efb0'/>
<id>urn:sha1:527d331af451f809f87fac846a8bd5a93ac4efb0</id>
<content type='text'>
* src/tail.c (tail_file): Fix precedence issue introduced
in commit v9.5-231-g177fcec66 so that we pass correct flags to open().
Effectively this meant we would have dropped the O_BINARY flag
on windows, since O_RDONLY is generally 0.
Issue spotted by coverity.
</content>
</entry>
<entry>
<title>csplit: avoid extraenous output files given empty input</title>
<updated>2025-01-10T14:46:48Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-09T19:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8482cb94512b1b801abc69349a6ba1c977324662'/>
<id>urn:sha1:8482cb94512b1b801abc69349a6ba1c977324662</id>
<content type='text'>
* src/csplit.c (get_first_line_in_buffer): Don't exit here
upon empty input, rather indicate no input in the return
to let callers handle in a more consistent fashion.
* NEWS: Mention the bug fix.
* tests/csplit/csplit.sh: Add a test case.
Reported by Daniel Hofstetter.
</content>
</entry>
<entry>
<title>ls: suppress "Permission denied" errors on NFS</title>
<updated>2025-01-10T14:46:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-01-08T21:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b58e321c8d5dd841f4170312692035a66b5ac149'/>
<id>urn:sha1:b58e321c8d5dd841f4170312692035a66b5ac149</id>
<content type='text'>
NFS (on Linux 6.12 at least) was seen to return EACCES
from listxattr() for files without read access.
We started using listxattr() in coreutils 9.4.

* src/ls.c (gobble_file): Map EACCES from file_has_aclinfo()
to '?', rather than displaying the error.
* doc/coreutils.texi (ls invocation): Document the '?' flag.
* NEWS: Mention the bug fix.
Addresses https://bugs.gnu.org/74692
</content>
</entry>
</feed>
