<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils, branch v9.1</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.1</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2022-04-15T21:10:07Z</updated>
<entry>
<title>version 9.1</title>
<updated>2022-04-15T21:10:07Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-15T21:10:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ca22b9eba09feae9ad5c8105c37e2ae5fb9abbb2'/>
<id>urn:sha1:ca22b9eba09feae9ad5c8105c37e2ae5fb9abbb2</id>
<content type='text'>
* NEWS: Record release date.
</content>
</entry>
<entry>
<title>doc: avoid unicode errors in texi conversion</title>
<updated>2022-04-15T17:28:38Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-15T17:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0f2cf20af6d91075c1f876b8a8c4375c52ff672a'/>
<id>urn:sha1:0f2cf20af6d91075c1f876b8a8c4375c52ff672a</id>
<content type='text'>
Avoid "Unicode character U+#1 not supported, sorry" error
when converting from texi to dvi or pdf.

* doc/coreutils.texi (tr invocation): Avoid the @U{XXXX}
texi representation, as even though info and html can represent
these characters directly, there are conversion errors
for pdf and dvi.  Instead use the more abstract shell
$'\uXXXX' representation.
</content>
</entry>
<entry>
<title>build: copy: fix build on macos 10.12</title>
<updated>2022-04-14T12:37:23Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-14T12:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bcfbcef928cd540e53d35fc2869d9def2fedeb84'/>
<id>urn:sha1:bcfbcef928cd540e53d35fc2869d9def2fedeb84</id>
<content type='text'>
* src/copy.c (copy_reg): Handle the case where CLONE_NOOWNERCOPY
is not defined.
Reported by Jeffrey Walton
</content>
</entry>
<entry>
<title>tail: detect closed stdout on Solaris</title>
<updated>2022-04-13T19:10:14Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-13T16:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=87d5f1e17e32176b262a13262ac3ec16e1970596'/>
<id>urn:sha1:87d5f1e17e32176b262a13262ac3ec16e1970596</id>
<content type='text'>
* src/tail.c (check_output_alive): Use poll() on Solaris.
Also handle POLLHUP, which Solaris returns in this case.
* tests/tail-2/pipe-f.sh: Use `head -n2` rather than `sed 2q`
as Solaris sed does not exit in this case.
* NEWS: Mention the improvement.
Reported by Bruno Haible.
</content>
</entry>
<entry>
<title>maint: syntax-check: fix preprocessor indentation</title>
<updated>2022-04-13T11:21:01Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-13T11:19:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=48e15cef45de108c803fd090e3123043da5f0a01'/>
<id>urn:sha1:48e15cef45de108c803fd090e3123043da5f0a01</id>
<content type='text'>
* gl/lib/targetdir.h: Keep '#' at start of line.
</content>
</entry>
<entry>
<title>cp,mv,install: omit an ‘inline’</title>
<updated>2022-04-13T06:57:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-04-13T06:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b411f21414cbfb11bcb42d54e0771b501fa8820f'/>
<id>urn:sha1:b411f21414cbfb11bcb42d54e0771b501fa8820f</id>
<content type='text'>
* gl/lib/targetdir.c (target_directory_operand):
Omit unnecessary ‘inline’.
</content>
</entry>
<entry>
<title>cp,mv,install: improve EACCES targetdir messages</title>
<updated>2022-04-13T06:57:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-04-13T06:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f0a9f5e7da4393e8e8bf2959b3b8b65240805f75'/>
<id>urn:sha1:f0a9f5e7da4393e8e8bf2959b3b8b65240805f75</id>
<content type='text'>
This improves on the fix for --target-directory diagnostics bugs on
Solaris 11.  Problem reported by Bruno Haible and Pádraig Brady; see:
https://lists.gnu.org/r/coreutils/2022-04/msg00044.html
Also, omit some unnecessary stat calls.
* gl/lib/targetdir.c (target_directory_operand): If !O_DIRECTORY,
do not bother calling open if stat failed with errno != EOVERFLOW.
Rename is_a_dir to try_to_open since that’s closer to what it means.
If the open failed with EACCES and we used O_SEARCH, look at stat
results to see whether errno should be ENOTDIR for better diagnostics.
Treat EOVERFLOW as an “I don’t know whether it’s a directory and
there’s no easy way to find out” rather than as an error.
</content>
</entry>
<entry>
<title>cp,mv,install: avoid excess stat calls on non-GNU</title>
<updated>2022-04-13T06:57:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-04-13T06:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=197a570ff0a17db5c8e003645d154e57bddc70ce'/>
<id>urn:sha1:197a570ff0a17db5c8e003645d154e57bddc70ce</id>
<content type='text'>
* gl/lib/targetdir.c (target_directory_operand): New arg ST.
All callers changed.
* src/cp.c (do_copy):
* src/mv.c (main):
Avoid unnecessary stat call if target_directory_operand already
got the status.
</content>
</entry>
<entry>
<title>cp,mv,install: modularize targetdir</title>
<updated>2022-04-13T06:57:15Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-04-13T06:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=30c932a3098146128acfd839589f308ec1bb116d'/>
<id>urn:sha1:30c932a3098146128acfd839589f308ec1bb116d</id>
<content type='text'>
Move target directory code out of system.h to a new targetdir module.
This doesn’t change functionality.
* bootstrap.conf (gnulib_modules): Add targetdir.
* src/cp.c, src/install.c, src/mv.c: Include targetdir.h.
* src/system.h (must_be_working_directory, target_directory_operand)
(targetdir_dirfd_valid): Move from here ...
* gl/lib/targetdir.c, gl/lib/targetdir.h, gl/modules/targetdir:
... to these new files.
</content>
</entry>
<entry>
<title>cp,mv,install: avoid EACCES with non directory destination</title>
<updated>2022-04-12T23:37:12Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-04-10T15:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=52139fd69034446695af60c8064a38e5e795227c'/>
<id>urn:sha1:52139fd69034446695af60c8064a38e5e795227c</id>
<content type='text'>
* src/system.h (target_directory_operand): Also check with stat()
on systems with O_SEARCH, to avoid open("file", O_SEARCH|O_DIRECTORY)
returning EACCES rather than ENOTDIR, which was seen on Solaris 11.4
when operating on non dirs without execute bit set.
* NEWS: Remove related bug entry, as that issue was only introduced
after coreutils v9.0 was released.
Reported by Bruno Haible.
</content>
</entry>
</feed>
