and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

This project is mirrored from git://git.sv.gnu.org/coreutils.git. Pull mirroring failed .
Last successful update .
  1. 27 Dec, 2017 1 commit
  2. 23 Dec, 2017 2 commits
    • Pádraig Brady's avatar
      tests: avoid false failure on AIX 7.2 · 8992dfa5
      Pádraig Brady authored
      * tests/tail-2/pipe-f.sh: Close stdout in a subshell
      to ensure the current shell isn't impacted.  Subsequent
      piped commands like `echo foo | blah` were seen to fail
      due to the previous closing of stdout.
      Reported by Assaf Gordon.
      8992dfa5
    • Pádraig Brady's avatar
      doc: describe recent build checks for 32 bit time_t · f4fec336
      Pádraig Brady authored
      * README: Document the new handling of 32 bit time_t,
      with examples of how to build in 64 bit mode on AIX.
      Also mention that GNU make is desired on AIX
      due to its mishandling of the "[" target.
      Suggested by Assaf Gordon.
      f4fec336
  3. 21 Dec, 2017 2 commits
  4. 20 Dec, 2017 2 commits
  5. 18 Dec, 2017 1 commit
  6. 16 Dec, 2017 2 commits
    • Pádraig Brady's avatar
      tests: fix recent regressions with dash · 177f1313
      Pádraig Brady authored
      * tests/misc/timeout.sh: dash outputs the "Killed"
      message to stderr rather than the terminal.
      * tests/misc/usage_vs_getopt.sh: dash doesn't yet
      support the POSIX proposed $'...' shell quoting syntax.
      177f1313
    • Pádraig Brady's avatar
      build: avoid a signed overflow warning in ptx · a1300c60
      Pádraig Brady authored
      * src/ptx.c (fix_output_parameters): GCC 6.3.1 with
      ./configure --enable-single-binary would give:
        error: assuming signed overflow does not occur
        when simplifying conditional to constant [-Werror=strict-overflow]
          if (file_index > 0)
      So change the type of file_index to signed (size_t).
      a1300c60
  7. 11 Dec, 2017 6 commits
  8. 10 Dec, 2017 3 commits
  9. 04 Dec, 2017 1 commit
  10. 02 Dec, 2017 1 commit
  11. 29 Nov, 2017 5 commits
    • Bernhard Voelker's avatar
      tests: verify usage vs. getopt · 052cce9e
      Bernhard Voelker authored
      Verify that all options mentioned in usage are actually recognized
      by the program.
      
      * tests/misc/usage_vs_getopt.sh: Add test.
      * tests/local.mk (all_tests): Reference it.
      Co-authored-by: default avatarPádraig Brady <P@draigBrady.com>
      052cce9e
    • Pádraig Brady's avatar
      readlink: remove superfluous comma from usage output · ba9c7449
      Pádraig Brady authored
      * src/readlink.c (usage): Remove ',' after --quiet option.
      ba9c7449
    • Bernhard Voelker's avatar
      all: use consistent diagnostics for unknown long options · 5782a362
      Bernhard Voelker authored
      Previously, e.g. cksum failed to output the offending unknown long
      option:
        $ cksum --unknown-opt
        cksum: invalid option -- '-'
        Try 'cksum --help' for more information.
      i.e., it tried to diagnose '-' as short option.
      Instead, it should diagnose the unknown long option:
        $ cksum --unknown-opt
        cksum: unrecognized option '--unknown-opt'
        Try 'cksum --help' for more information.
      
      * src/cksum.c (long_options): Add struct with null entry only.
      (main): Use it in the getopt_long call.
      * src/dd.c: Likewise.
      * src/hostid.c: Likewise.
      * src/hostname.c: Likewise.
      * src/link.c: Likewise.
      * src/logname.c: Likewise.
      * src/nohup.c: Likewise.
      * src/sleep.c: Likewise.
      * src/tsort.c: Likewise.
      * src/unlink.c: Likewise.
      * src/uptime.c: Likewise.
      * src/users.c: Likewise.
      * src/whoami.c: Likewise.
      * src/yes.c: Likewise.
      * NEWS (Improvements): Mention the fix.
      5782a362
    • Pádraig Brady's avatar
      test: fix issues with tests/cp/preserve-mode.sh · b505dc57
      Pádraig Brady authored
      * tests/cp/preserve-mode.sh: This was the only use of awk,
      which may not be available on the system resulting
      in an ineffective test.  Also the permissions bits for
      directories were not being checked at all.
      b505dc57
    • Pádraig Brady's avatar
      build: update gnulib submodule to latest · b5d6f66b
      Pádraig Brady authored
      * gnulib: Update with various build/test fixes.
      b5d6f66b
  12. 28 Nov, 2017 1 commit
  13. 27 Nov, 2017 1 commit
  14. 25 Nov, 2017 1 commit
    • Pádraig Brady's avatar
      dd: support iflag=direct with arbitrary sized files · 5f02cddc
      Pádraig Brady authored
      * src/dd.c (iread): Handle read error with a non-aligned
      file offset in the O_DIRECT case.  This is not an issue
      on XFS at least, but on EXT4 the final read will return
      EINVAL rather than the expected 0 to indicate EOF.
      * tests/dd/direct.sh: Test the iflag=direct case also.
      * NEWS: Mention the improvement.
      5f02cddc
  15. 24 Nov, 2017 1 commit
    • Pádraig Brady's avatar
      timeout: add --verbose to diagnose timeouts · 559c7a57
      Pádraig Brady authored
      This is useful as handling in shell is complicated
      with the varying exit status in the --kill-after case.
      
      * src/timeout.c (main): Handle '-v' and store
      COMMAND for the diagnostic.
      (cleanup): Diagnose the signal name before sending.
      (usage): Document -v, --verbose.
      * doc/coreutils.texi (timeout invocation): Likewise.
      * tests/misc/timeout.sh: Add a test case.
      * NEWS: Mention the new feature
      Fixes https://bugs.gnu.org/21760
      559c7a57
  16. 19 Nov, 2017 1 commit
    • Pádraig Brady's avatar
      tail: seek to the end of block devices · 31dd7a0d
      Pádraig Brady authored
      * src/tail.c (tail_bytes): Try lseek(..., SEEK_END) when
      we can't determine the file size.
      * tests/tail-2/end-of-device.sh: Add a new root only test.
      * tests/local.mk: Reference the new test.
      * NEWS: Mention the improvement.
      Paul Eggert suggested using lseek() (rather than ioctl(BLKGETSIZE64)).
      Fixes https://bugs.gnu.org/29259
      31dd7a0d
  17. 14 Nov, 2017 2 commits
  18. 09 Nov, 2017 1 commit
  19. 08 Nov, 2017 2 commits
    • Jim Meyering's avatar
      maint: make hook script reject "/archive/html" in lists.gnu.org URLS · 95bfb362
      Jim Meyering authored
      * scripts/git-hooks/commit-msg: Require the abbreviated "/r/"
      form in any log message URL.
      95bfb362
    • Jim Meyering's avatar
      maint: shorten https://lists.gnu.org/archive/html/... links · 9d88182c
      Jim Meyering authored
      Each /archive/html/ part can be replace with /r/.
      Run this to induce the change:
      git grep -l archive/html|xargs perl -pi -e 's,/archive/html/,/r/,g'
      * TODO: Perform that substitution.
      * bootstrap: Likewise.
      * src/sort.c (sequential_sort): Likewise.
      * src/tail.c (tail_file): Likewise.
      * tests/misc/sort-merge-fdlimit.sh: Likewise.
      * tests/misc/stty-row-col.sh: Likewise.
      * tests/misc/unexpand.pl: Likewise.
      * tests/rm/readdir-bug.sh: Likewise.
      * tests/tail-2/inotify-rotate.sh: Likewise.
      9d88182c
  20. 07 Nov, 2017 1 commit
  21. 06 Nov, 2017 2 commits
  22. 31 Oct, 2017 1 commit