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. 10 Mar, 2019 3 commits
  2. 07 Mar, 2019 5 commits
  3. 06 Mar, 2019 3 commits
  4. 04 Mar, 2019 7 commits
    • Pádraig Brady's avatar
      doc: remove older ChangeLog items · efa3e5dd
      Pádraig Brady authored
      * Makefile.am: Update the oldest documented version
      to 8.22 which is now about 5 years old.
      efa3e5dd
    • Pádraig Brady's avatar
      build: revert recent change with distributed man page handling · 7c35a36b
      Pádraig Brady authored
      * man/local.mk: commit f114495e added an extra check to ensure
      a binary was working before using it to generate the man page.
      However this was not working for the false(1) command,
      and also one can generally specify that one should not
      be using generated commands on the current system by passing
      'cross_compiling=yes' to the configure invocation.
      7c35a36b
    • Pádraig Brady's avatar
      env: add --list-signal-handling to output non default handling · 6bf6d7f4
      Pádraig Brady authored
      * src/env.c (main): Output blocked or ignored signals
      before a command is executed.
      * doc/coreutils.texi (env invocation): Add the option.
      * tests/misc/env-signal-handler.sh: Add a test case.
      * NEWS: Mention the new feature.
      6bf6d7f4
    • Assaf Gordon's avatar
      env: new options --{default,ignore,block}-signal[=SIG] · 95adadd9
      Assaf Gordon authored
      New options to set signal handlers for the command being executed.
      --block-signal suggested by Paul Eggert in http://bugs.gnu.org/34488#71
      --default-signal is useful to overcome the POSIX limitation that shell
      must not override inherited signal state, e.g. the second 'trap' here is
      a no-op:
      
         trap '' PIPE && sh -c 'trap - PIPE ; seq inf | head -n1'
      
      Instead use:
      
         trap '' PIPE && sh -c 'env --default-signal=PIPE seq inf | head -n1'
      
      Similarly, the following will prevent CTRL-C from terminating the
      program:
      
         env --ignore-signal=INT seq inf > /dev/null
      
      See https://bugs.gnu.org/34488#8
      
      * NEWS: Mention new options.
      * doc/coreutils.texi (env invocation): Document new options.
      * man/env.x: Add example of --default-signal=SIG usage.
      (SEE ALSO): Mention sigprocmask.
      * src/env.c (signals): New global variable.
      (longopts): Add new options.
      (usage): Print new options.
      (parse_signal_params): Parse comma-separated list of signals, store in
      signals variable.
      (reset_signal_handlers): Set each signal to SIG_DFL/SIG_IGN.
      (parse_block_signal_params): Parse command-line options.
      (set_signal_proc_mask): Call sigprocmask to block/unblock signals.
      (main): Process new options.
      * src/local.mk (src_env_SOURCES): Add operand2sig.c.
      * tests/misc/env-signal-handler.sh: New test.
      * tests/local.mk (all_tests): Add new test.
      95adadd9
    • Martin Bukatovic's avatar
      stat: print birth time on systems supporting statx · 186896d6
      Martin Bukatovic authored
      * configure.ac: Check for statx(), available on glibc >= 2.28.
      * src/stat.c (get_birthtime): Call statx() when available.
      * NEWS: Mention the improvement.
      186896d6
    • Pádraig Brady's avatar
      df: support different file system encodings when not using tty · 811493e2
      Pádraig Brady authored
      * src/df.c (replace_problematic_chars): A new wrapper to be
      more conservative in our replacement when not connected to a tty.
      * tests/df/problematic-chars.sh: Add a test case.
      811493e2
    • Pádraig Brady's avatar
      maint: tidy up recent additions to NEWS · 0d6be4b0
      Pádraig Brady authored
      * NEWS: Move date change to improvements and fix nohup grammar.
      0d6be4b0
  5. 27 Feb, 2019 1 commit
  6. 26 Feb, 2019 1 commit
    • Pádraig Brady's avatar
      wc: treat non breaking space as a word separator · a5202bd5
      Pádraig Brady authored
      * src/wc.c (iswnbspace): A new function to match
      characters in this class.
      (isnbspace): Likewise for single byte charsets.
      (main): Initialize posixly_correct from the environment,
      to allow disabling honoring NBSP in non C locales.
      (wc): Call is[w]nbspace() along with is[w]space.
      * bootstrap.conf: Ensure btowc is available.
      * tests/misc/wc-nbsp.sh: A new test.
      * tests/local.mk: Reference the new test.
      * NEWS: Mention the change in behavior.
      a5202bd5
  7. 25 Feb, 2019 5 commits
  8. 24 Feb, 2019 2 commits
    • Bernhard Voelker's avatar
      all: detect --help and --version more consistently · 44af8426
      Bernhard Voelker authored
      For select programs which accept only --help and --version options
      (in addition to non-option arguments), process these options before
      any other options.
      
      Before:
      
        $ dd bs=1 --help
        dd: unrecognized option '--help'
        Try 'dd --help' for more information.
      
        $ yes me --help
        me --help
        me --help
        ...
      
      After:
      Any occurrence of '--help' in the arguments (prior to '--') will
      show the help screen.
      
      Discussed in https://bugs.gnu.org/33468 .
      
      * NEWS: Mention change.
      * src/cksum.c, src/dd.c, src/hostid.c, src/hostname.c, src/link.c,
      src/logname.c, src/nohup.c, src/sleep.c, src/tsort.c, src/unlink.c,
      src/uptime.c, src/users.c, src/whoami.c, src/yes.c (main): Replace
      parse_long_options() + getopt_long() calls with
      parse_gnu_standard_options_only(); Remove <getopt.h> inclusion;
      Remove empty 'struct long_options' variable;
      * tests/misc/help-version-getopt.sh: Add test.
      * tests/local.mk (all_tests): Reference it.
      44af8426
    • Pádraig Brady's avatar
      gnulib: update to the latest · 36b99b61
      Pádraig Brady authored
      update to a version with parse_gnu_standard_options_only()
      36b99b61
  9. 20 Feb, 2019 1 commit
  10. 19 Feb, 2019 1 commit
  11. 18 Feb, 2019 1 commit
  12. 12 Feb, 2019 2 commits
  13. 11 Feb, 2019 1 commit
    • Pádraig Brady's avatar
      gnulib: update to use new strtold module · 2193e0b9
      Pádraig Brady authored
      * gnulib: Update to make the new strtold module available.
      * bootstrap.conf: strtod is now a dependency of c-strtod,
      which in turn is a dependency of cl-strtod.  This treats
      strtold and strtod similarly.
      * gl/lib/cl-strtod.c: Adjust to assume strtold is available.
      * tests/misc/sort-float.sh: Likewise.
      * src/sort.c: Likewise.
      (nan_compare): Adjust comment to indicate
      we still have to init padding bits as per
      https://sourceware.org/bugzilla/show_bug.cgi?id=13246
      2193e0b9
  14. 04 Feb, 2019 3 commits
    • Pádraig Brady's avatar
      seq: output decimal points consistently with invalid locales · 03fbb5ec
      Pádraig Brady authored
      * src/seq.c (print_numbers): Only reset the locale if it
      was successfully set originally.
      * tests/misc/seq-locale.sh: Add a new test.
      * tests/local.mk: Reference the new test.
      * NEWS: Mention the fix.
      03fbb5ec
    • Pádraig Brady's avatar
      build: ensure sys/select.h is included · 027eeec7
      Pádraig Brady authored
      bootstrap.conf: Explicitly depend on select, rather than transitively.
      * src/tail.c: Unconditionally include select.h as we use select()
      outside inotify contexts now.
      027eeec7
    • Pádraig Brady's avatar
      stat,tail: fix android build and support inotify · 2e8f885a
      Pádraig Brady authored
      * src/extract-magic: Treat android like linux,
      which fixes the build by ensuring the constants are defined.
      * src/stat.c: Support all constants on android, including
      the android specific "sdcardfs".
      * src/tail.c: Fix inclusion of statfs headers to be independent
      of inotify availability, as fremote() is used on linux even
      if inotify has been disabled.  Also enable fremote() on android.
      * NEWS: Mention the improvment.
      Fixes https://bugs.gnu.org/34239
      2e8f885a
  15. 31 Jan, 2019 2 commits
  16. 28 Jan, 2019 1 commit
  17. 27 Jan, 2019 1 commit