This project is mirrored from git://git.sv.gnu.org/coreutils.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 05 Mar, 2020 1 commit
-
-
Pádraig Brady authored
* NEWS: Record release date.
-
- 04 Mar, 2020 2 commits
-
-
Pádraig Brady authored
* tests/misc/env-S.pl: `env -i env` will call the system env due to the path being cleared, so pass the absolute path of our env binary under test to avoid that. This was seen to be an issue on Guix where /usr/bin/env was not available.
-
Pádraig Brady authored
* src/basenc.c (z85_decode_ctx_init): Ensure we're working with unsigned, as otherwise ubsan triggers with: src/basenc.c:767:18: runtime error: signed integer overflow: 43 * 52200625 cannot be represented in type 'int' (z85_encode): Likewise to avoid the usban error: src/basenc.c:630:26: runtime error: left shift of 134 by 24 places cannot be represented in type 'int'
-
- 01 Mar, 2020 5 commits
-
-
Pádraig Brady authored
* tests/misc/timeout-parameters.sh: Split the large timeout handling to ... * tests/misc/timeout-large-parameters.sh: ... here, so that the 3 second delay is contained in its own test, and if the test is skipped due invalid handling within timeout(1), it will be more apparent. Also adjust the check so we skip whenever the kernel timer fires immediately, to handle the buggy OpenIndiana 11 kernel also. Reported by Bruno Haible.
-
Pádraig Brady authored
* tests/du/8gb.sh: Add a timeout around: `dd bs=1 seek=8G of=big < /dev/null`
-
Pádraig Brady authored
* init.cfg (require_bash_as_SHELL_): A new function to replace SHELL for the current test, with bash if available. This is useful on OpenIndiana 11 where /bin/sh was seen to have races in handling of SIGPIPE. * tests/misc/seq-epipe.sh: Use the new function to enforce bash. * tests/misc/env-signal-handler.sh: Likewise. Reported by Bruno Haible
-
Pádraig Brady authored
* tests/ls/stat-free-color.sh: Check for the availability of various stat calls individually, and add statx() and fstatat64() to the list to check. Fix the stat counting logic to ignore lines like "+++ exited with 0 +++". * tests/ls/stat-free-symlinks.sh: Check syscalls other than stat().
-
Bruno Haible authored
* init.cfg (gcc_shared_libs_): New variable. (gcc_shared_): Use it, instead of hardcoding -ldl. (require_gcc_shared_): Determine the suitable value for gcc_shared_libs_.
-
- 29 Feb, 2020 3 commits
-
-
Pádraig Brady authored
* tests/ls/stat-free-symlinks.sh: s/|| fail/|| fail=1/. * tests/misc/tee.sh: Likewise. * tests/touch/relative.sh: Likewise. * cfg.mk (sc_prohibit_or_fail): A new syntax-check to avoid this.
-
Pádraig Brady authored
With these adjustments, all tests pass on macOS Catalina. * tests/dd/sparse.sh: Adjust so that systems like apfs that don't create holes < 16 MiB do not fail erroneously. * tests/touch/trailing-slash.sh: Darwin was seen to dereference symlinks to files when given a trailing slash, so avoid that particular case.
-
Bruno Haible authored
* tests/misc/csplit-io-err.sh: Limit the effect of the fwrite override to streams != stderr, as fwrite is in the error() path there.
-
- 27 Feb, 2020 4 commits
-
-
Jan Nieuwenhuizen authored
* configure.ac: Reenable distribution of gzip-compressed tarballs, for Guix bootstrapping reasons as discussed at: https://lists.gnu.org/r/coreutils/2020-02/msg00042.html * THANKS.in: Remove me, as now a committer. * NEWS (Build-related): Mention this.
-
Pádraig Brady authored
* .gitignore: s|*/.deps/|.deps|
-
Pádraig Brady authored
* Makefile.am: Update the oldest documented version to 8.23 which is now about 5 years old.
-
Colin Watson authored
If the current directory has been removed, then "ls" confusingly produced no output and no error message, indistinguishable from running on an empty directory. * src/ls.c (print_dir): Report ENOENT on GNU/Linux if readdir finds no directory entries at all, not even "." or "..", and a recheck with the getdents syscall returns ENOENT. We recheck with getdents() as POSIX states that "The directory entries for dot and dot-dot are optional". * tests/ls/removed-directory.sh: New file. * tests/local.mk (all_tests): Add new test. * NEWS: Mention the change in behavior. Reported by Owen Thomas.
-
- 25 Feb, 2020 4 commits
-
-
Pádraig Brady authored
* bootstrap.conf: Adjust for changes to fchmodat and fchownat, which are now separated from chmodat and chownat respectively.
-
Pádraig Brady authored
* src/blake2/blake2-impl.h: Sync load16() implementation, which doesn't change code generation. Also leverage (builtin) memcpy to more efficiently move data on little endian systems, giving a 2% win with GCC 9.2.1 on an i3-2310M.
-
Pádraig Brady authored
* src/longlong.h: Sync changes from: https://gmplib.org/repo/gmp/log/tip/longlong.h mips64: Provide r6 asm code as default expression yields. arm32: Define sub_ddmmss separately for non-thumb (no rsc instruction). powerpc: Add "CLOBBER" descriptions for some registers. x86: Fix criterion for when to use mulx in umul_ppmm.
-
Pádraig Brady authored
* src/stat.c: Add magic constants for "binderfs", "dma-buf-fs", "erofs", "ppc-cmm-fs", and "z3fold". * NEWS: Mention the improvement.
-
- 24 Feb, 2020 1 commit
-
-
Pádraig Brady authored
strcoll() is only significant to uniq(1) if it returns 0, and it generally only does so with buggy locales or mismatched locales and data. Some systems may have strcoll() return 0 for equivalent normalized unicode forms, but for consistency across platforms strcoll() is avoided. The various cases are defined in the new test. This is consistent with newer POSIX standards as discussed at: https://www.austingroupbugs.net/view.php?id=963 * src/uniq.c: s/xstrcoll/memcmp/. * tests/local.mk: Reference the new test. * tests/misc/uniq-collate.sh: Add a new test. * NEWS: Mention the change in behavior. Fixes https://bugs.gnu.org/38627
-
- 15 Feb, 2020 1 commit
-
-
Pádraig Brady authored
* src/stat.c (usage): Mention permission bits rather than "access" so there is no confusion with ACLs etc. Also indicate we output the file type with '%A'. * doc/coreutils.texi (stat invocation): Likewise. Also indicate '%A' is similar to `ls -ld` output. Addresses https://bugs.gnu.org/39613
-
- 10 Feb, 2020 1 commit
-
-
Pádraig Brady authored
* tests/cp/preserve-gid.sh: s/-l/-L/. Reported by Kamil Dudka
-
- 09 Feb, 2020 3 commits
-
-
Kamil Dudka authored
* tests/cp/preserve-gid.sh: If configured with --enable-single-binary copy the coreutils single binary, instead of the cp one-line launcher. Discussed at https://bugzilla.redhat.com/1800597 Fixes https://bugs.gnu.org/39485
-
Pádraig Brady authored
* configure.ac: Restrict lines to 80 chars.
-
Jim Meyering authored
* configure.ac (GNULIB_WARN_CFLAGS): Add -Wno-return-local-addr to avoid FP warning about careadlinkat.c. Discussed starting in https://lists.gnu.org/r/coreutils/2020-02/msg00006.html
-
- 04 Feb, 2020 3 commits
-
-
Pádraig Brady authored
Pick up recent build fixes to avoid sysctl.h inclusion on glibc systems, restrict the max file size supported by read-file to PTRDIFF_MAX, and to avoid a -Werror=unused failure in test-canonicalize.
-
Pádraig Brady authored
* tests/cp/proc-short-read.sh: Switch to using /proc/cpuinfo, rather than /proc/kallsyms which was seen to vary in some cases. Fixes https://bugs.gnu.org/39357
-
Pádraig Brady authored
Since v6.10-21-ged5c4e77 `rmdir --ignore-fail-on-non-empty` had reversed the failure status for directories that failed to be removed for permissions reasons. I.E. it would have returned a failure status for such non empty dirs, and vice versa. * src/rmdir.c (errno_may_be_non_empty): Rename from the more confusing errno_may_be_empty(), and remove the EEXIST case (specific to Solaris), which is moot here since handled in errno_rmdir_non_empty(). (ignorable_failure): Fix the logic error so that _non_ empty dirs are deemed to have ignorable failures. (main): Fix clobbering of errno by is_empty_dir(). (remove_parents): Likewise. * tests/rmdir/ignore.sh: Add a test case. * THANKS.in: Add reporter who fixed the errno handling. * NEWS: Mention the bug fix. Fixes https://bugs.gnu.org/39364
-
- 03 Feb, 2020 3 commits
-
-
Pádraig Brady authored
* configure.ac: Add -Wno-vector-operation-performance to suppress the following gcc-9.2 error in gl/lib/randperm.c: error: vector operation will be expanded piecewise
-
Pádraig Brady authored
* src/uname.c: Avoid unneeded header with GLIBC, which has been deprecated since glibc-2.30. * src/uptime.c: Likewise.
-
Pádraig Brady authored
* src/ls.c (usage): Reorganize help for --time, and add description for --time=birth. (do_statx): Store btime in mtime if available. (get_stat_btime): A new function to read the creation time from the appropriate stat structure member. (cmp_btime): A new function to compare birth time. (print_long_format): Output '?' when birth time unavailable. * doc/coreutils.texi: Document --time={birth,creation}. * tests/local.mk: Reference the new test. * tests/ls/birthtime.sh: Add a new test. * NEWS: Mention the new feature.
-
- 30 Jan, 2020 1 commit
-
-
Chris Meyering authored
* src/yes.c (main): Convert for loop to do-while in order to indicate that the loop will be run at least once. This avoids the following warning after the second loop: src/yes.c:110:20: error: writing 1 byte into a region of size 0
-
- 01 Jan, 2020 4 commits
-
-
Emil Engler authored
* .gitignore: Add file newly generated by gnulib commit 49e78fc
-
Pádraig Brady authored
* configure.ac: Set --with-openssl=auto-gpl-compat as the default, so that openssl is used for md5sum etc., with openssl >= 3, which is newly licensed under ASL v2. * gnulib: Update to include "auto-gpl-compat" support.
-
Pádraig Brady authored
* bootstrap.conf: Depend on the new module split from xstrtol. * src/df.c: Include "xstrtol-error.h" for xstrtol_fatal. * src/du.c: Likewise. * src/ls.c: Likewise. * src/od.c: Likewise. * src/pr.c: Likewise. * src/sort.c: Likewise.
-
Pádraig Brady authored
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.
-
- 08 Dec, 2019 1 commit
-
-
Bernhard Voelker authored
* doc/coreutils.texi (sleep invocation): Add an example to demonstrate how to use the floating-point and the scientific notation to sleep for sub-second times, e.g. milli-, micro- and nanoseconds. Inspired by Stephane Chazelas in: https://lists.gnu.org/r/coreutils/2019-12/msg00005.html
-
- 02 Dec, 2019 2 commits
-
-
Pádraig Brady authored
* cfg.mk (old_NEWS_hash): Regenerate after commit v8.31-56-gc1e19656.
-
Kamil Dudka authored
* src/chcon.c (main): Skip call of security_check_context() in case SELinux is disabled to avoid unnecessary failure. Bug: https://bugzilla.redhat.com/1777831
-
- 12 Nov, 2019 1 commit
-
-
Paul Eggert authored
* doc/sort-version.texi (Minus/Hyphen and Colon characters): Rename from “Minus/Hyphen @samp{-} and Colon @samp{:} characters”, as texi2any 6.6 complains about colons in node names.
-