<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch v9.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2025-09-19T18:29:37Z</updated>
<entry>
<title>touch: fix diagnostic on macOS 26</title>
<updated>2025-09-19T18:29:37Z</updated>
<author>
<name>Grisha Levit</name>
<email>grishalevit@gmail.com</email>
</author>
<published>2025-09-19T00:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d9ff4d9af20dc120b933943d336bbee65d309b4a'/>
<id>urn:sha1:d9ff4d9af20dc120b933943d336bbee65d309b4a</id>
<content type='text'>
* src/touch.c (touch): Do not use open_errno == EEXIST for diagnostic
if file was a directory as macOS 26 sets it for open("/", O_CREAT, ...).
</content>
</entry>
<entry>
<title>copy: pacify older clang</title>
<updated>2025-09-19T15:55:12Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-09-19T15:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d535ca4c06872a280ba65304036ff86d3fb5cb0e'/>
<id>urn:sha1:d535ca4c06872a280ba65304036ff86d3fb5cb0e</id>
<content type='text'>
* src/copy-file-data.c (copy_file_data):
Redo conditionals for clarity.
This pacifies the clang in FreeBSD 11 and OpenBSD 7.6.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/coreutils/2025-09/msg00104.html
</content>
</entry>
<entry>
<title>dd: don't mistakenly use O_EXCL on GNU/Hurd</title>
<updated>2025-09-19T06:31:18Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-09-19T06:29:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2662ddf335c9c5bafefa9c8c0b25c26e73d192ab'/>
<id>urn:sha1:2662ddf335c9c5bafefa9c8c0b25c26e73d192ab</id>
<content type='text'>
* src/dd.c (v): Add the O_EXCL flag to the set of bits that we do not
want to use for our definitions.
* cfg.mk (sc_dd_O_FLAGS): Adjust to pass syntax-check.
* NEWS: Mention the fix.
Reported by Bruno Haible.
</content>
</entry>
<entry>
<title>fmt: eliminate a clang -Wformat-extra-args warning</title>
<updated>2025-09-18T21:33:51Z</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2025-09-18T21:05:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=71a8cdf6b1f04e95aa74a2f304d68530638d229a'/>
<id>urn:sha1:71a8cdf6b1f04e95aa74a2f304d68530638d229a</id>
<content type='text'>
* src/fmt.c (fmt): When not reading from stdin, always mention the
file name in the error message.
</content>
</entry>
<entry>
<title>build: fix link failure on macOS</title>
<updated>2025-09-18T16:13:02Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-18T14:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e'/>
<id>urn:sha1:c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e</id>
<content type='text'>
* src/local.mk: Explicitly depend on @INTL_MACOS_LIBS@
which may be not implicitly referenced (in LIBINTL) without gettext.
This is a new transitive dependency through localename-unsafe.
We add this globally to ease future maintenance as currently
6 commands require the localename-unsafe dependency:
date, du through show-date() (fprintftime), and
ls, pr, stat, uptime through strftime().
</content>
</entry>
<entry>
<title>maint: prefer memeq to memcmp</title>
<updated>2025-09-17T19:20:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-09-17T19:12:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=52576367611ee1101fecec5b8892a90da618f32b'/>
<id>urn:sha1:52576367611ee1101fecec5b8892a90da618f32b</id>
<content type='text'>
* gl/modules/randread-tests (Depends-on): Add stringeq.
* gl/tests/test-rand-isaac.c (main):
* src/copy.c (source_is_dst_backup):
* src/digest.c (b64_equal):
* src/install.c (have_same_content):
* src/ls.c (main, parse_ls_color):
* src/nl.c (check_section):
* src/od.c (write_block):
* src/seq.c (seq_fast):
* src/stty.c (eq_mode):
* src/system.h (is_nul):
Prefer memeq to memcmp when either will do.
</content>
</entry>
<entry>
<title>maint: STREQ → streq</title>
<updated>2025-09-17T19:20:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-09-17T16:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ee367bd38daca8e36e4088d11301e52b782597ad'/>
<id>urn:sha1:ee367bd38daca8e36e4088d11301e52b782597ad</id>
<content type='text'>
Use new Gnulib streq function instead of rolling our own macro.
* bootstrap.conf (gnulib_modules): Add stringeq.
* src/rm.c (main): Don’t assume streq is a macro that expands to (...),
as it is now a function.
* src/system.h:
* tests/df/no-mtab-status.sh, tests/df/skip-duplicates.sh:
(STREQ): Remove.  All uses replaced by streq.
</content>
</entry>
<entry>
<title>maint: remove unnecessary uintmaxtostr usage in printf</title>
<updated>2025-09-17T02:43:46Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2025-09-17T02:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1efb539630d6fd45e2c92f094471d3760f5b6836'/>
<id>urn:sha1:1efb539630d6fd45e2c92f094471d3760f5b6836</id>
<content type='text'>
* src/comm.c (compare_files): Use the "%ju" printf directive instead of
"%s" and printing the result of umaxtostr.
* src/df.c (get_header): Likewise.
* src/ls.c (print_long_format): Likewise.
* src/sort.c (check): Likewise.
</content>
</entry>
<entry>
<title>fold: fix write error checks with invalid multi-byte input</title>
<updated>2025-09-16T17:41:51Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-16T15:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c95c7ee76ff4480125a15b8e53945b60e58de400'/>
<id>urn:sha1:c95c7ee76ff4480125a15b8e53945b60e58de400</id>
<content type='text'>
* src/fold.c (write_out): A new helper to check all writes.
(fold-file): Use write_out() for all writes.
* tests/fold/fold-zero-width.sh: Adjust to writing more
data in various patterns, rather than two buffers of NULs.
This is a more robust memory bound check, and the '\303' case
tests this particular logic change.
* NEWS: fold now exits immediately, not just promptly.
</content>
</entry>
<entry>
<title>fold: exit promptly upon write errors</title>
<updated>2025-09-16T13:10:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-09-16T12:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=10459ca7ed15456a6dbfebc7d718c8d713fbfe70'/>
<id>urn:sha1:10459ca7ed15456a6dbfebc7d718c8d713fbfe70</id>
<content type='text'>
* NEWS: Mention the improvement.
* src/fold.c (fold_file): Check for write errors
after each buffer read from stdin.
* tests/misc/write-errors.sh: Add test cases.
</content>
</entry>
</feed>
