This project is mirrored from git://git.sv.gnu.org/coreutils.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 10 Mar, 2019 3 commits
-
-
Pádraig Brady authored
* NEWS: Record release date.
-
Pádraig Brady authored
* tests/misc/test-N.sh: The subsecond values for atime and mtime were potentially seen to differ on newlyl created files. So we include the subsecond portion when comparing stat values.
-
Pádraig Brady authored
* tests/misc/wc-nbsp.sh: Add gating checks for all characters, as there are disparate classifications on various systems: SunOS 5.10 treats \u202F, \u2060 as !iswprint() SunOS 5.10 treats \u00A0, \u2007 as iswspace() AIX 7.2, Darwin 17.4.0, NetBSD 7.1 treat \u2060 as !iswprint()
-
- 07 Mar, 2019 5 commits
-
-
Pádraig Brady authored
* tests/tail-2/pipe-f.sh: Check closing stdout with >&- is effective, which avoids a false failure on NetBSD 7.1 Reported by Assaf Gordon
-
Pádraig Brady authored
* tests/misc/tac-2-nonseekable.sh: Add a timeout to both protect and check whether we can close stdin correctly.
-
Pádraig Brady authored
* tests/id/zero.sh: sed on OSX will output a \n even if the input doesn't have a \n on the last "line". So ensure we always have a trailing '\n' to avoid the disparity.
-
Pádraig Brady authored
Testing by Assaf Gordon on OSX showed the atime wasn't being updated when explicitly set back in time. Also Debian 8.11 / mips64 was seen to not update the mtime when truncating an empty file. * tests/misc/test-N.sh: Isolate from different timestamping behaviors of various (file) systems, by correlating the timestamps with stat(1) before using `test -N`.
-
Assaf Gordon authored
Very old makeinfo-4.13 fails with: ./doc/coreutils.texi:2286: Unknown command `hashchar'. ./doc/coreutils.texi:2286: Misplaced {. ./doc/coreutils.texi:2286: Misplaced }. Reported Bernhard Voelker in https://lists.gnu.org/r/coreutils/2019-03/msg00016.html . * doc/coreutils.texi (basenc invocation): Replace @hashchar{} with actual hash character. The special syntax is only required when referring to #line directives.
-
- 06 Mar, 2019 3 commits
-
-
Pádraig Brady authored
* src/stat.c (get_birthtime): Check also for STATX_BTIME define, as a different statx is available on AIX 7.2.
-
Pádraig Brady authored
* tests/misc/wc-nbsp.sh: FreeBSD and OS X don't treat non breaking space as printable characters. So use wc -L to determine printability before testing non breaking space functionality.
-
Pádraig Brady authored
* src/env.c (initialize_signals): A new function to initialize the signals array on the heap, to avoid a build failure on opensolaris, where SIGNUM_BOUND is not a constant.
-
- 04 Mar, 2019 7 commits
-
-
Pádraig Brady authored
* Makefile.am: Update the oldest documented version to 8.22 which is now about 5 years old.
-
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.
-
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.
-
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.
-
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.
-
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.
-
Pádraig Brady authored
* NEWS: Move date change to improvements and fix nohup grammar.
-
- 27 Feb, 2019 1 commit
-
-
Bernhard Voelker authored
* doc/coreutils.texi (node seq invocation): Clarify to use the tool 'yes'; otherwise the reader may interpret the sentence as if one could pass 'yes' as the INCREMENT value.
-
- 26 Feb, 2019 1 commit
-
-
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.
-
- 25 Feb, 2019 5 commits
-
-
Paul Eggert authored
* doc/coreutils.texi (Date conversion specifiers): Plain %F is actually like %+4Y-%m-%d. (Padding and other flags): Mention POSIX restrictions. * src/date.c (usage): Document recent changes.
-
Paul Eggert authored
* doc/coreutils.texi (Padding and other flags): Give example for + conversion specification.
-
Paul Eggert authored
-
Paul Eggert authored
The recent Gnulib update fixed Bug#34608; document and test this. * NEWS: Mention the change. * doc/coreutils.texi (Padding and other flags): Update doc to cover new flag and other POSIX.1-2017 changes. * tests/misc/date.pl (date-century-plus): New test.
-
Paul Eggert authored
-
- 24 Feb, 2019 2 commits
-
-
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.
-
Pádraig Brady authored
update to a version with parse_gnu_standard_options_only()
-
- 20 Feb, 2019 1 commit
-
-
Martin Castillo authored
* doc/coreutils.texi (join invocation): Fix various errors. Fixes https://bugs.gnu.org/34583 Fixes https://bugs.gnu.org/34584
-
- 19 Feb, 2019 1 commit
-
-
Daming Yang authored
* src/ls.c (abmon_init): Align numeric abbreviations right. * NEWS: Mention the improvement.
-
- 18 Feb, 2019 1 commit
-
-
Pádraig Brady authored
* src/sort.c (main): Adjust the debug info regarding locales, to clarify that only textual comparisons are affected. * tests/misc/sort-debug-warn.sh: Adjust accordingly. Fixes https://bugs.gnu.org/34490
-
- 12 Feb, 2019 2 commits
-
-
Pádraig Brady authored
* src/comm.c (main): Output a warning right before exit, in case previous errors have scrolled from view. * src/join.c (main): Likewise. * tests/misc/comm.pl: Addjust accordingly. * tests/misc/join.pl: Likewise. Fixes https://bugs.gnu.org/34347
-
Filipp Gunbin authored
* doc/coreutils.texi (date invocation): s/822/2822/. Fixes https://bugs.gnu.org/34438
-
- 11 Feb, 2019 1 commit
-
-
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
-
- 04 Feb, 2019 3 commits
-
-
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.
-
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.
-
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
-
- 31 Jan, 2019 2 commits
-
-
Pádraig Brady authored
* tests/misc/sleep.sh: Check locale processing of printf, sleep, and timeout, when the french locale data is available.
-
Pádraig Brady authored
Recently introduced in commit v8.30-50-geb73e23f * gl/lib/cl-strtod.c: Fall back to strtod() on systems without strtold() (like we already do in sort).
-
- 28 Jan, 2019 1 commit
-
-
Pádraig Brady authored
* cfg.mk: Exclude cl-strtold.c wrapper from requiring config.h
-
- 27 Jan, 2019 1 commit
-
-
Paul Eggert authored
* gl/modules/cl-strtold (Files): Add lib/cl-strtod.c, lib/cl-strtod.h. (Depends-on): Remove cl-strtod. (configure.ac): Redquire AC_C_RESTRICT.
-