<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/NEWS, branch v9.3</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.3</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2023-04-18T14:08:11Z</updated>
<entry>
<title>version 9.3</title>
<updated>2023-04-18T14:08:11Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-18T14:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f386722dc0d996d5379f12b4a8d4dd15ca7df4b5'/>
<id>urn:sha1:f386722dc0d996d5379f12b4a8d4dd15ca7df4b5</id>
<content type='text'>
* NEWS: Record release date.
</content>
</entry>
<entry>
<title>maint: require support for post-2038 timestamps</title>
<updated>2023-04-10T02:21:55Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2023-04-10T02:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ffd62ab92c259d513a419b4078a45f1c658dc774'/>
<id>urn:sha1:ffd62ab92c259d513a419b4078a45f1c658dc774</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Replace year2038 with
year2038-required.
</content>
</entry>
<entry>
<title>wc: ensure we update file offset</title>
<updated>2023-04-08T11:19:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-02-05T19:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ce630dfc7ef32ff7e35c627bd061a45ce9053d9d'/>
<id>urn:sha1:ce630dfc7ef32ff7e35c627bd061a45ce9053d9d</id>
<content type='text'>
* src/wc.c (wc): Update the offset when not reading,
and do read if we can't update the offset.
* tests/misc/wc-proc.sh: Add a test case.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/61300
</content>
</entry>
<entry>
<title>cp,mv: issue "skipped" messages when skipping files</title>
<updated>2023-04-08T11:11:58Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-07T09:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f6c21f6d3addb6461c41af612e73fbb15d21545f'/>
<id>urn:sha1:f6c21f6d3addb6461c41af612e73fbb15d21545f</id>
<content type='text'>
* NEWS: Mention the change in behavior to issue a "not replaced"
error diagnostic with -n, and the "skipped" message with -v.
* src/copy.c (copy_internal): Adjust to output the "skipped" messages
depending on -i, -n, -u.
* tests/cp/cp-i.sh: Adjust accordingly.
* tests/mv/mv-n.sh: Likewise.
</content>
</entry>
<entry>
<title>cp,mv: add --update=none to always skip existing files</title>
<updated>2023-04-08T11:11:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-01T15:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=db28af406f311ac8f78604cc5906613866aecef5'/>
<id>urn:sha1:db28af406f311ac8f78604cc5906613866aecef5</id>
<content type='text'>
Add --update=none which is equivalent to the --no-clobber behavior
from before coreutils 9.2.  I.e. existing files are unconditionally
skipped, and them not being replaced does not affect the exit status.

* src/copy.h [enum Update_type]: A new type to support parameters
to the --update command line option.
[enum Interactive]: Add I_ALWAYS_SKIP.
* src/copy.c: Treat I_ALWAYS_SKIP like I_ALWAYS_NO (-n),
except that we don't fail when skipping.
* src/system.h (emit_update_parameters_note): A new function
to output the description of the new --update parameters.
* src/cp.c (main): Parse --update arguments, ensuring that
-n takes precedence if specified.
(usage): Describe the new option.  Also allude that
-u is related in the -n description.
* src/mv.c: Accept the new --update parameters and
update usage() accordingly.
* doc/coreutils.texi (cp invocation): Describe the new --update
parameters.  Also reference --update from the --no-clobber description.
(mv invocation): Likewise.
* tests/mv/update.sh: Test the new parameters.
* NEWS: Mention the new feature.
Addresses https://bugs.gnu.org/62572
</content>
</entry>
<entry>
<title>cp: fix --backup with subdirectories</title>
<updated>2023-04-04T11:00:11Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-04-03T17:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5891d28edebe229f1a6057275e281b10c1f2247b'/>
<id>urn:sha1:5891d28edebe229f1a6057275e281b10c1f2247b</id>
<content type='text'>
* gnulib: Reference the latest gnulib including the
fix to the backupfile module in commit 94496522.
* tests/cp/backup-dir.sh: Add a test to ensure
we rename appropriately when backing up through subdirs.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/62607
</content>
</entry>
<entry>
<title>wc: diagnose overflow of total counts</title>
<updated>2023-03-31T10:58:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-29T14:29:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7ad749886cddc76860bd8cfc38a408032a5e4c99'/>
<id>urn:sha1:7ad749886cddc76860bd8cfc38a408032a5e4c99</id>
<content type='text'>
* src/wc.c (wc): Use INT_ADD_WRAPV() to detect overflow.
(main): Upon overflow, saturate the total, print a diagnostic,
and set exit status.
* tests/misc/wc-total.sh: Add a test case, which operates
on BTRFS and 64 bit systems at least.
Reported at https://bugs.debian.org/1027100
</content>
</entry>
<entry>
<title>dircolors: diagnose read errors</title>
<updated>2023-03-28T13:24:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-28T13:24:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a9bd274616a8d2e99736b498e657cda4e6954f3f'/>
<id>urn:sha1:a9bd274616a8d2e99736b498e657cda4e6954f3f</id>
<content type='text'>
* NEWS: Mention the fix.
* src/dircolors.c: Fail upon read error from getline().
* tests/misc/dircolors.sh: Add a new test.
* tests/local.mk: Reference the new test.
</content>
</entry>
<entry>
<title>tests: add a test case for the previous date fix</title>
<updated>2023-03-28T12:40:43Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-28T12:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a4525de1ef593cb3873eb88caa7279eb32669bda'/>
<id>urn:sha1:a4525de1ef593cb3873eb88caa7279eb32669bda</id>
<content type='text'>
* NEWS: Also mention this bug fix.
* tests/misc/date-f.sh: Add a new test.
* tests/local.mk: Reference the new test.
</content>
</entry>
<entry>
<title>copy: fix --reflink=auto to fallback in more cases</title>
<updated>2023-03-24T13:12:51Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2023-03-23T13:19:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=093a8b4bfaba60005f14493ce7ef11ed665a0176'/>
<id>urn:sha1:093a8b4bfaba60005f14493ce7ef11ed665a0176</id>
<content type='text'>
On restricted systems like android or some containers,
FICLONE could return EPERM, EACCES, or ENOTTY,
which would have induced the command to fail to copy
rather than falling back to a more standard copy.

* src/copy.c (is_terminal_failure): A new function refactored
from handle_clone_fail().
(is_CLONENOTSUP): Merge in the handling of EACCES, ENOTTY, EPERM
as they also pertain to determination of whether cloning is supported
if we ever use this function in that context.
(handle_clone_fail): Use is_terminal_failure() in all cases,
so that we assume a terminal failure in less errno cases.
* NEWS: Mention the bug fix.
Addresses https://bugs.gnu.org/62404
</content>
</entry>
</feed>
