<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch v9.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-04-08T11:17:19Z</updated>
<entry>
<title>ls: support capabilities with device 0,0</title>
<updated>2025-04-08T11:17:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-08T11:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7007c018de51f972c89f153c128a7a9ce08ac432'/>
<id>urn:sha1:7007c018de51f972c89f153c128a7a9ce08ac432</id>
<content type='text'>
* src/ls.c (has_capability_cache): Don't assume
a device major,minor of 0,0 never occurs.
</content>
</entry>
<entry>
<title>ls: fix crash of "ls -Z ." on OpenBSD's /dev/wd0a disk</title>
<updated>2025-04-08T11:02:13Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2025-04-08T10:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0954e91fcff2bd224dc14c9b22bf221fe88b078c'/>
<id>urn:sha1:0954e91fcff2bd224dc14c9b22bf221fe88b078c</id>
<content type='text'>
* src/ls.c (file_has_aclinfo_cache): Add new static variable
'unsupported_cached'. Don't assume that device 0 never occurs.
</content>
</entry>
<entry>
<title>build: use _GL_ATTRIBUTE_NONSTRING attribute to avoid new warnings</title>
<updated>2025-04-07T17:47:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@meta.com</email>
</author>
<published>2025-04-06T14:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=42f6201aa554fde4c78a3c5d0207d85392eb742e'/>
<id>urn:sha1:42f6201aa554fde4c78a3c5d0207d85392eb742e</id>
<content type='text'>
Avoid warnings like this from GCC 15:
src/basenc.c:1139:20: error: initializer-string for array of 'char'
truncates NUL terminator but destination lacks 'nonstring' attribute
(9 chars into 8 available) [-Werror=unterminated-string-initialization]
* src/basenc.c (z85_encoding, do_decode): Mark two more variables as
non-terminated.
</content>
</entry>
<entry>
<title>timeout: don’t sleep less than requested</title>
<updated>2025-04-07T07:59:27Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-04-07T07:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cb7c210d30c5a6a4a879bda96d61926d77f16d96'/>
<id>urn:sha1:cb7c210d30c5a6a4a879bda96d61926d77f16d96</id>
<content type='text'>
Also, change sleep and tail to not sleep less than requested.
* bootstrap.conf (gnulib_modules): Add dtimespec-bound.
* gl/lib/dtimespec-bound.c, gl/lib/dtimespec-bound.h:
* gl/modules/dtimespec-bound: New files.
* src/sleep.c, src/tail.c, src/timeout.c: Include dtimespec-bound.h.
* src/sleep.c, src/tail.c: Don’t include xstrtod.h.
* src/sleep.c (apply_suffix, main):
* src/tail.c (parse_options):
* src/timeout.c (apply_time_suffix):
Don’t sleep less than the true number of seconds.
* src/timeout.c: Don’t include ctype.h.
(is_negative): Remove; no longer needed.
(parse_duration): Use a slightly looser bound on the timeout, one
that doesn’t need -lm on GNU/Linux.  Clear errno before calling
cl_strtod.
</content>
</entry>
<entry>
<title>maint: silence a -Wunterminated-string-initialization warning</title>
<updated>2025-04-06T07:14:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2025-04-06T07:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0311d45d5b921c49c9eb5778f1e326b40683fb20'/>
<id>urn:sha1:0311d45d5b921c49c9eb5778f1e326b40683fb20</id>
<content type='text'>
* src/basenc.c (base16_encode): Mark BASE16 as not NUL-terminated.
</content>
</entry>
<entry>
<title>timeout: remove dependence on libm</title>
<updated>2025-04-05T23:07:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-05T20:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dce566553cffef61d49ad135f2b5a9e1d96fe34f'/>
<id>urn:sha1:dce566553cffef61d49ad135f2b5a9e1d96fe34f</id>
<content type='text'>
This was seen to add about 100,000 ns to the startup time,
on a 2.6 GHz i7-5600U with glibc 2.40.

* .gitignore: Remove /lib/fenv.h.
* bootstrap.conf: Remove fenv-rounding and signbit deps.
* src/local.mk: Remove fenv lib dependency.
* src/timeout.c (is_negative): A new helper function to
be equivalent of signbit in the underflow case.
(parse_duration): Remove the rounding up logic,
as a nanosecond here or there has no significance.
</content>
</entry>
<entry>
<title>timeout: round timeouts up</title>
<updated>2025-04-05T07:58:58Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-04-05T07:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a3b862ece2aa04d5c0b5e93fec8e66e45b9b3560'/>
<id>urn:sha1:a3b862ece2aa04d5c0b5e93fec8e66e45b9b3560</id>
<content type='text'>
This handles timeouts like 16777216.000000001 correctly;
formerly the subsecond part of that timeout was ignored.
* bootstrap.conf (gnulib_modules): Add fenv-rounding, signbit.
* src/local.mk (src_timeout_LDADD): Append $(FENV_ROUNDING_LIBM).
* src/timeout.c: Include fenv.h, math.h.
Don’t include xstrtod.h, as xstrtod’s checking now gets in the way.
(parse_duration): Round up when calling cl_strtod.
Check for -1e-1000.  Don’t double-round 1e-9.
* tests/timeout/timeout-parameters.sh: Test for -0.1,
-1e-1000, 1e-1000.
</content>
</entry>
<entry>
<title>maint: ensure that new "make syntax-check"-run sc_codespell passes</title>
<updated>2025-04-04T20:14:29Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-04-04T19:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=43873a660de20d854d88c04183826c3f8d2466b3'/>
<id>urn:sha1:43873a660de20d854d88c04183826c3f8d2466b3</id>
<content type='text'>
* cfg.mk (codespell_ignore_words_list): Ignore false-positives.
(exclude_file_name_regexp--sc_codespell): Skip some file names.
* doc/coreutils.texi (mktemp invocation): Use "alphanumeric" which is
consistent with the rest of the documentation.
* src/expand-common.c: Fix typo.
* src/ls.c: Likewise.
* tests/split/l-chunk-root.sh: Likewise.
</content>
</entry>
<entry>
<title>timeout: ensure infinitesimal timeouts timeout quickly</title>
<updated>2025-04-04T19:52:32Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-04-04T19:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=026d0d7c40d2b585d153bb597b336442c14f2d18'/>
<id>urn:sha1:026d0d7c40d2b585d153bb597b336442c14f2d18</id>
<content type='text'>
* src/timeout.c (parse_duration): Clamp infinitesimal values to 1ns.
* tests/timeout/timeout-large-parameters.sh: Add a test case.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/77535
</content>
</entry>
<entry>
<title>ls: suppress ENOENT errors when reading ACL info</title>
<updated>2025-03-31T16:17:01Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-03-30T14:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8d44319fa1cdfaa645465f03bf2ba3ce6cfff098'/>
<id>urn:sha1:8d44319fa1cdfaa645465f03bf2ba3ce6cfff098</id>
<content type='text'>
* src/ls.c (gobble_file): Indicating unknown ACL info with '?'
suffices for the edge case of a file being removed while reading,
or older cygwin when reading through dangling symlinks.
Reported by Corinna Vinschen.
</content>
</entry>
</feed>
