<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/gl, 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-13T11:21:01Z</updated>
<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>maint: pacify gcc -flto -Wmaybe-uninitialized</title>
<updated>2022-01-31T20:07:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-01-31T18:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eb3cd9e97bbfbfd127097168e8e5c3f207c9fc40'/>
<id>urn:sha1:eb3cd9e97bbfbfd127097168e8e5c3f207c9fc40</id>
<content type='text'>
* gl/lib/xdectoint.c (__xnumtoint): Tell gcc that ‘error’
does not return here.
* gl/modules/xdectoint (Depends-on): Add stdbool, verify.
</content>
</entry>
<entry>
<title>shred: fix declaration typo</title>
<updated>2022-01-27T21:04:14Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-01-17T03:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e462d928b0025bee0d67d33c7bb774884d3dd9c0'/>
<id>urn:sha1:e462d928b0025bee0d67d33c7bb774884d3dd9c0</id>
<content type='text'>
* gl/lib/randint.h (randint_all_new):
Do not declare with _GL_ATTRIBUTE_NONNULL (), as
the arg can be a null pointer.  This fixes a typo added in
2021-11-01T05:30:28Z!eggert@cs.ucla.edu.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2022-01-02T16:15:55Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2022-01-02T15:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3067a9293af07ba2cf1ababe6b4482196717f806'/>
<id>urn:sha1:3067a9293af07ba2cf1ababe6b4482196717f806</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>maint: syntax-check requires "char const *", not "const char *"</title>
<updated>2021-12-20T20:50:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2021-12-20T20:48:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eb2400fb9ffd30733375a8162d01ec9cad50580a'/>
<id>urn:sha1:eb2400fb9ffd30733375a8162d01ec9cad50580a</id>
<content type='text'>
* gl/lib/mbsalign.c (mbs_align_pad): Adjust.
* src/chroot.c (is_root): Adjust.
* src/digest.c (main): Adjust.
* src/relpath.c (buffer_or_output) Adjust.
* src/ls.c (print_name_with_quoting, get_color_indicator): Adjust.
</content>
</entry>
<entry>
<title>maint: use GNU style for spacing</title>
<updated>2021-12-18T17:35:04Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-12-18T17:34:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8621e44cdaf0b4c66f2204e07d6ccf52a47fb4b7'/>
<id>urn:sha1:8621e44cdaf0b4c66f2204e07d6ccf52a47fb4b7</id>
<content type='text'>
</content>
</entry>
</feed>
