We plan to release coreutils-9.1 in the next few days so any testing you can do on various different systems between now and then would be most welcome.
-------------------------------------- You can download the coreutils snapshot in xz format (5.6 MB) from: https://pixelbeat.org/cu/coreutils-ss.tar.xz And verify with gpg or md5sum with: https://pixelbeat.org/cu/coreutils-ss.tar.xz.sig MD5 (coreutils-ss.tar.xz) = 4ff5f06b6ede2f96941ab27c3734ad6a -------------------------------------- To test follow this standard procedure: tar -xf coreutils-ss.tar.xz cd coreutils-9.0.209-87d5/ ./configure && make check VERBOSE=yes Failures are reported, and details are in tests/test-suite.log Please report/attach any issues to coreutils@gnu.org -------------------------------------- Changes since the last snapshot are: commit 87d5f1e17e32176b262a13262ac3ec16e1970596 Author: Pádraig Brady <p...@draigbrady.com> Date: Wed Apr 13 17:31:47 2022 +0100 tail: detect closed stdout on Solaris * 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. commit 48e15cef45de108c803fd090e3123043da5f0a01 Author: Pádraig Brady <p...@draigbrady.com> Date: Wed Apr 13 12:19:16 2022 +0100 maint: syntax-check: fix preprocessor indentation * gl/lib/targetdir.h: Keep '#' at start of line. commit b411f21414cbfb11bcb42d54e0771b501fa8820f Author: Paul Eggert <egg...@cs.ucla.edu> Date: Tue Apr 12 23:56:41 2022 -0700 cp,mv,install: omit an ‘inline’ * gl/lib/targetdir.c (target_directory_operand): Omit unnecessary ‘inline’. commit f0a9f5e7da4393e8e8bf2959b3b8b65240805f75 Author: Paul Eggert <egg...@cs.ucla.edu> Date: Tue Apr 12 23:56:41 2022 -0700 cp,mv,install: improve EACCES targetdir messages 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. commit 197a570ff0a17db5c8e003645d154e57bddc70ce Author: Paul Eggert <egg...@cs.ucla.edu> Date: Tue Apr 12 23:56:41 2022 -0700 cp,mv,install: avoid excess stat calls on non-GNU * 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. commit 30c932a3098146128acfd839589f308ec1bb116d Author: Paul Eggert <egg...@cs.ucla.edu> Date: Tue Apr 12 23:56:41 2022 -0700 cp,mv,install: modularize targetdir 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. commit 52139fd69034446695af60c8064a38e5e795227c Author: Pádraig Brady <p...@draigbrady.com> Date: Sun Apr 10 16:59:40 2022 +0100 cp,mv,install: avoid EACCES with non directory destination * 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. commit 6e9bf0765fb8931eddfd17736cb0554192c26fad Author: Pádraig Brady <p...@draigbrady.com> Date: Tue Apr 12 12:04:38 2022 +0100 sync: support syncing files on cygwin * src/sync.c (sync_arg): Similarly to AIX, Cygwin 2.9.0 was seen to need write access to have permission to sync a file. commit 4f920e93ecf1b693b3729168496a9f50e194ecd0 Author: Pádraig Brady <p...@draigbrady.com> Date: Tue Apr 12 12:31:01 2022 +0100 tests: cygwin: handle ENOENT from execvp(".") * tests/misc/env.sh: Verify with another command that execvp() doesn not return ENOENT, before testing the exit code from the command in question. * tests/misc/nice-fail.sh: Likewise. * tests/misc/stdbuf.sh: Likewise. * tests/misc/timeout-parameters.sh: Likewise. commit f98dcbfc1c73e3b270224d5c82ff0382c1394519 Author: Pádraig Brady <p...@draigbrady.com> Date: Tue Apr 12 12:50:40 2022 +0100 tests: env-S.pl: unset cygwin hardwired env vars * tests/misc/env-S.pl: Unset SYSTEMROOT and WINDIR. commit 028cad9149b2dc6f27ee4d5680582fcdfb3299db Author: Pádraig Brady <p...@draigbrady.com> Date: Mon Apr 11 15:37:04 2022 +0100 tests: md5sum: fix false failures on cygwin * tests/misc/md5sum-newline.pl: Avoid binary '*' tags when comparing checksums. * tests/misc/md5sum-bsd.sh: Avoid binary '*' tags so that we correctly trigger the ambiguity test. Reported by Bruno Haible commit 2122ceba8e3da8a04e40dc168d736af0c09a3930 Author: Pádraig Brady <p...@draigbrady.com> Date: Mon Apr 11 15:37:04 2022 +0100 tests: b2sum.sh: fix false failure on cygwin * tests/misc/b2sum.sh: Avoid binary '*' tags when comparing checksums. Reported by Bruno Haible commit e43099f6e95087fa375d8e0b81d6e97dcb1936b4 Author: Pádraig Brady <p...@draigbrady.com> Date: Mon Apr 11 14:17:59 2022 +0100 tests: dircolors.pl: avoid false failure with TERM=dumb * tests/Coreutils.pm: Ensure an unset $TERM env var, which is required on perl 5.22.2 on Solaris 11 OpenIndiana at least, where TERM was being reset to 'dumb'. Reported By Bruno Haible. commit 021fc4fad2cd6712d03af090431dbef353968a30 Author: Pádraig Brady <p...@draigbrady.com> Date: Mon Apr 11 13:47:44 2022 +0100 tests: printf-mb.sh: fix false failure with french translations * tests/misc/printf-mb.sh: As per commit 04148c99c, adjust non C warnings before comparison, to those of LC_MESSAGES=C. Reported by Adam Sampson commit 046ab76166bfe946fa701e1a93ac69e1c69d5a13 Author: Pádraig Brady <p...@draigbrady.com> Date: Sun Apr 10 15:47:52 2022 +0100 tests: stty.sh: skip on systems without perl * init.cfg (stty_reversible_init_): Add require_perl_ to ensure we skip rather than error, without perl. commit cc01b8a8f43bd1e02339322595f7a20e72a8c155 Author: Pádraig Brady <p...@draigbrady.com> Date: Sat Apr 9 15:46:52 2022 +0100 cp,mv,install: avoid opening non directory destination commit v9.0-66-ge2daa8f79 introduced an issue, for example where cp could hang when overwriting a destination fifo, when it would try to open() the fifo on systems like Solaris 10 that didn't support the O_DIRECTORY flag. This is still racy on such systems, but only in the case where a directory is replaced by a fifo in the small window between stat() and open(). * src/system.h (target_directory_operand): On systems without O_DIRECTORY, ensure the file is a directory before attempting to open(). * tests/cp/special-f.sh: Protect cp with timeout(1), as cp was seen to hang when trying to overwrite an existing fifo. * NEWS: Mention the bug fix. thank you! Pádraig