This project is mirrored from git://git.sv.gnu.org/coreutils.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 27 Dec, 2017 1 commit
-
-
Pádraig Brady authored
* NEWS: Record release date.
-
- 23 Dec, 2017 2 commits
-
-
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.
-
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.
-
- 21 Dec, 2017 2 commits
-
-
Pádraig Brady authored
* tests/misc/ptx.pl: Escape the '^' character which is otherwise considered as a line continuation character. * tests/misc/shred-remove.sh: sed doesn't support \n.
-
Pádraig Brady authored
* build-aux/git-log-fix: Remove old entry.
-
- 20 Dec, 2017 2 commits
-
-
Pádraig Brady authored
* .gitignore: Ignore the generated coverage report.
-
Pádraig Brady authored
* Makefile.am: Update the oldest documented version to 8.20 which is now about 5 years old.
-
- 18 Dec, 2017 1 commit
-
-
Bernhard Voelker authored
POSIX specification for chmod(1): https://pubs.opengroup.org/onlinepubs/9699919799/utilities/chmod.html * doc/coreutils.texi (chmod invocation): Add a sentence about who can change the file mode bits of a file - (almost) a copy from what POSIX requires. Fixes https://bugs.gnu.org/29207.
-
- 16 Dec, 2017 2 commits
-
-
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.
-
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).
-
- 11 Dec, 2017 6 commits
-
-
Bernhard Voelker authored
* bootstrap.conf: s/strftime/nstrfrime/.
-
Pádraig Brady authored
* gnulib: Update with various build/test fixes.
-
Pádraig Brady authored
* test/dd/nocache_eof.sh: Also handle fadvise64_64 which is used on 32 bit x86. Note strace internally maps fadvise64_64 to {arm,xtensa}_fadvise64_64. -
Pádraig Brady authored
* src/tail.c (tail_bytes): On systems were blksize_t is unsigned and the same size or wider than off_t (android for example), our initialized (off_t) -1 would be promoted to unsigned before comparison, and thus fail to follow the appropriate path. * tests/tail-2/tail-c.sh: Add a test case. * NEWS: Mention the fix. This issue was introduced in commit v8.23-47-g2662702b Reported at https://github.com/termux/termux-app/issues/233
-
Pádraig Brady authored
* m4/jm-macros.m4: Check for the header. * src/dd.c: Avoid the workaround where the header is not available (on non glibc systems). * src/shred.c: Likewise.
-
Pádraig Brady authored
* src/ls.c (usage): Clarify -k only applies to -s usage and directory 'total' lines. Move the description of TIME_STYLE out of the option section as it was awkward to read and write there within 80 columns.
-
- 10 Dec, 2017 3 commits
-
-
Pádraig Brady authored
* man/chmod.x: Update the information to state one can clear the setuid and setgid bits for directories numerically using an additional leading '0' or a leading '='. That has been supported since v8.15-64-g8931cdbf. Fixes https://bugs.gnu.org/29390
-
Pádraig Brady authored
* doc/coreutils.texi (shred invocation): s/truncate/deallocate/. * src/shred.c (usage): Likewise. Fixes https://bugs.gnu.org/29317
-
Pádraig Brady authored
* doc/coreutils.texi (cp invocation): The language used to describe recreating the file was a little confusing as it mentioned opening a removed file. Fixes https://bugs.gnu.org/29315
-
- 04 Dec, 2017 1 commit
-
-
Kamil Dudka authored
* doc/coreutils.texi (stat invocation): The default value of QUOTING_STYLE for the %N format of 'stat --printf' is 'shell-escape-always'. Fixes https://bugs.gnu.org/29563 Reported by Christian Groessler at https://bugzilla.redhat.com/1520399#c3
-
- 02 Dec, 2017 1 commit
-
-
Jean Delvare authored
* tests/ls/block-size.sh: The output of the test was hard to read. Add comments saying what we are testing to make it easier to understand.
-
- 29 Nov, 2017 5 commits
-
-
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:Pádraig Brady <P@draigBrady.com>
-
Pádraig Brady authored
* src/readlink.c (usage): Remove ',' after --quiet option.
-
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.
-
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.
-
Pádraig Brady authored
* gnulib: Update with various build/test fixes.
-
- 28 Nov, 2017 1 commit
-
-
Pádraig Brady authored
* gnulib: Update including various build fixes.
-
- 27 Nov, 2017 1 commit
-
-
Bernhard Voelker authored
* src/timeout.c (main): Add short option character 'v' to getopt_long call. * tests/misc/timeout.sh: Run the test both for the long and the short option.
-
- 25 Nov, 2017 1 commit
-
-
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.
-
- 24 Nov, 2017 1 commit
-
-
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
-
- 19 Nov, 2017 1 commit
-
-
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
-
- 14 Nov, 2017 2 commits
-
-
Bernhard Voelker authored
* bootstrap.conf (gnulib_modules): Add 'year2038' to ensure that time_t is 64-bit (and thus works after 2038). Suggested by Bruno Haible in https://lists.gnu.org/r/bug-gnulib/2017-11/msg00022.html
-
Bernhard Voelker authored
* gnulib: Update - mainly for the recent year2038 changes. * tests/init.sh: Update from gnulib/tests/init.sh.
-
- 09 Nov, 2017 1 commit
-
-
Assaf Gordon authored
These templates instruct contributors not to use github, and instead use the upstream GNU development resources. Discussed in http://lists.gnu.org/archive/html/coreutils/2017-11/msg00007.html . * .github/ISSUE_TEMPLATE.txt, .github/PULL_REQUEST_TEMPLATE.txt: New files.
-
- 08 Nov, 2017 2 commits
-
-
Jim Meyering authored
* scripts/git-hooks/commit-msg: Require the abbreviated "/r/" form in any log message URL.
-
https://lists.gnu.org/archive/html/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.
-
- 07 Nov, 2017 1 commit
-
-
Thomas Deutschmann authored
* tests/ls/readdir-mountpoint-inode.sh: Skip the test if any mount points are inaccessible by the current user. Fixes https://bugs.gnu.org/29167 Reported at: https://bugs.gentoo.org/353164
-
- 06 Nov, 2017 2 commits
-
-
Bernhard Voelker authored
Older versions of 'makeinfo' choke on a missing reference: ./doc/coreutils.texi:14177: `Realpath usage examples' has no Up field\ (perhaps incorrect sectioning?). makeinfo: Removing output file `doc/coreutils.info' due to errors; \ use --force to preserve. * doc/coreutils.texi (realpath invocation): Add a menu referencing the usage examples - introduced in v8.27-91-g7449f0d0.
-
Pádraig Brady authored
* configure.ac(AC_INIT): Specify the URL explicitly, so we're not dependent on unreleased autoconf.
-
- 31 Oct, 2017 1 commit
-
-
Assaf Gordon authored
Suggested by L A Walsh in https://bugs.gnu.org/28763 . * src/stat.c (fmt_terse_fs): Define format for --terse -f here. (fmt_terse_regular): Define format for --terse here. (fmt_terse_selinux): Likewise for when SELinux is enabled. (default_format): Use the above constants. (usage): Output the formats for the terse modes.
-