This project is mirrored from git://git.sv.gnu.org/coreutils.git.
Pull mirroring failed .
Last successful update .
Last successful update .
- 09 Mar, 2017 4 commits
-
-
Pádraig Brady authored
* NEWS: Record release date.
-
Pádraig Brady authored
Removes extraneous parse-datetime.c generated during build
-
Pádraig Brady authored
* src/stat.c (human_fstype): This file system is the user interface for resource allocation in Intel's Resource Director Technology.
-
Pádraig Brady authored
* doc/coreutils.texi (join invocation): s/preceeding/preceding/.
-
- 08 Mar, 2017 2 commits
-
-
Bernhard Voelker authored
* src/local.mk [check-duplicate-no-install]: Depend on the single-binary tr, or the system tr, as the edge case where these are not available only result in the sanity check being effectively ignored.
-
Assaf Gordon authored
Switching to non-recursive makefiles broke the 'install-html' target: The gettext plumbing requires an 'install-html' target in po/Makefile. This was fixed in gettext v0.19.8.1-41-ge5a008a, but packages using older gettext need to manually patch po/Makefile.in.in. Reported (for 'sed') and suggested fix by Eric Blake in https://bugs.gnu.org/25690 . * bootstrap.conf (bootstrap_epilogue): Add 'install-{html,pdf,dvi,ps}' targets to po/Makefile.in.in (if needed).
-
- 04 Mar, 2017 2 commits
-
-
Pádraig Brady authored
* bootstrap.conf: s/4.13/6.1/ as versions previous to that generated invalid html with interspersed <span> tags that were visible to the user. Version 6.1 is available for a year now, and is available in most distros.
-
Bernhard Voelker authored
makeinfo issues the following: doc/coreutils.texi:6568: warning: @sc argument all uppercase,\ thus no effect. * doc/coreutils.texi (join invocation): Remove the @sc macro around the all uppercase "GNU".
-
- 03 Mar, 2017 4 commits
-
-
Pádraig Brady authored
Fixes a test-lock failure on MacOS
-
Pádraig Brady authored
* src/timeout.c (install_sigchld): A new function to install the SIGCHLD handler using sigaction() rather than signal(), because with the latter on solaris the signal handler is reset to default and thus sigsuspend() only returns for the first finished child. Reported by Assaf Gordon.
-
Pádraig Brady authored
* tests/misc/cut-huge-range.sh: Bump up the ulimit, to avoid a false failure due hitting the previously detected ulimit. Reported by Assaf Gordon.
-
Pádraig Brady authored
* src/libstdbuf.c: undef malloc so as libstdbuf is not linked with gnulib, and anyway the replacement is never needed since we never malloc(0). Reported by Assaf Gordon.
-
- 02 Mar, 2017 1 commit
-
-
Assaf Gordon authored
* doc/coreutils.texi (join invocation): Expand section to add examples and more details. Suggested by Dan Jacobson in https://bugs.gnu.org/25870
-
- 01 Mar, 2017 5 commits
-
-
Pádraig Brady authored
* man/md5sum.x: Give a more direct warning againt the use of this hash algorithm for security purposes. * man/sha1sum.x: Likewise. Suggested by Jim Meyering.
-
Pádraig Brady authored
* src/expand-common (parse-tab-stops): Exit earlier upon overflow so another warning isn't issued (on 32 bit) in add_tab_stop(). Flagged in https://hydra.nixos.org/build/49499970
-
Pádraig Brady authored
* doc/coreutils.texi (sha1sum invocation): Given that a SHA-1 preimage attack has occurred as documented at http://shattered.io/, document sha1sum as having the same limitations as md5sum. (md5sum): Parameterize the warning for use in both cases. * man/md5sum.x: Mention b2sum(1) as a more secure alternative. * man/sha1sum.x: Give the same warning as done for md5sum(1).
-
Pádraig Brady authored
* src/stty.c (sane_mode): Assert to inform the compiler we know the pointer will be valid.
-
Pádraig Brady authored
* doc/coreutils.texi (expand invocation): Document the feature. (unexpand invocation): Likewise. * src/expand-common.c (extend_size): A new global to use when the last tab stop is prefixed by '/'. (set_extend_size): A new function to validate and set the new extend_size global. (parse_tab_stops): Call set_extend_size() for '/' prefixes. (finalize_tab_stops): Ensure a single specified '/' is treated like a standard tabsize, but also ensure that when '/' is specified with a single other entry that we process as a list rather than a tab size. (get_next_tab_stop): Use the tab size if set, for items after the user specified tab position list. * tests/misc/expand.pl: Add test cases * NEWS: Mention the new feature. Fixes http://bugs.gnu.org/25540
-
- 26 Feb, 2017 2 commits
-
-
Pádraig Brady authored
This comes from the latest gnulib. Also handling of OMP_NUM_THREADS has been adjusted to support comma separated values indicating a nesting level, in which case the first value is taken. Also OMP_NUM_THREADS=0 is now ignored instead of being treated as 1, to match the behavior of libgomp. * NEWS: Mention the OMP_THREAD_LIMIT improvement, and OMP_NUM_THREADS now handling nested values. * doc/coreutils.texi (nproc invocation): Describe OMP_THREAD_LIMIT as a way to set the max value, with OMP_THREAD_LIMIT setting the min. * tests/misc/nproc-override.sh: A new test to exercise the updated gnulib code with all combinations of these OMP variables. * tests/local.mk: Reference the new test.
-
Pádraig Brady authored
-
- 23 Feb, 2017 2 commits
-
-
Pádraig Brady authored
* NEWS: Mention the avoidance of the gotcha with specifying a hex constant like count=0x1000 etc. as that previously was silently interpreted as 0.
-
Pádraig Brady authored
* src/copy.c (set_process_security_ctx, set_file_security_ctx): Export for use in cp.c. * src/copy.h: Likewise. * src/cp.c (make_dir_parents_private): Call the exported functions to set the security context for new and updated directories. * tests/cp/cp-a-selinux.sh: Add a test case. Fixes http://bugs.gnu.org/25378
-
- 18 Feb, 2017 1 commit
-
-
Pádraig Brady authored
* .gitignore: placate sc_gitignore_redundant. * po/POTFILES.in: placate sc_po_check.
-
- 16 Feb, 2017 3 commits
-
-
Bernhard Voelker authored
Commit v8.26-38-g99deaff7 introduced this warning: MAKEINFO doc/coreutils.info ./doc/coreutils.texi:10268: \ warning: `.' or `,' must follow @xref, not `@'. * doc/coreutils.texi (readlink invocation): Add '.' after @xref macro.
-
Paul Eggert authored
* bootstrap.conf, src/base64.c, src/cat.c, src/cksum.c: * src/head.c, src/md5sum.c, src/od.c, src/split.c, src/sum.c: * src/tac.c, src/tail.c, src/tee.c, src/tr.c, src/wc.c: Adjust to renaming of the xsetmode module to xbinary-io, and of the xsetmode function to xset_binary_mode.
-
Paul Eggert authored
-
- 15 Feb, 2017 2 commits
-
-
Paul Eggert authored
This fixes a bug noted by Eric Blake. Code was using xfreopen to change files to binary mode, but this fails for stdout when in append mode. Such code should use xsetmode instead. This affects only the port on platforms like MS-Windows which distiguish text from binary I/O. * bootstrap.conf (gnulib_modules): Remove xfreopen and add xsetmode. Sort. * src/base64.c (main): * src/cat.c (main): * src/cksum.c (cksum): * src/head.c (head_file, main): * src/md5sum.c (digest_file): * src/od.c (open_next_file): * src/split.c (main): * src/sum.c (bsd_sum_file, sysv_sum_file): * src/tac.c (tac_file, main): * src/tail.c (tail_file): * src/tee.c (tee_files): * src/tr.c (main): * src/wc.c (wc_file): Use xsetmode, not xfreopen.
-
Paul Eggert authored
-
- 13 Feb, 2017 1 commit
-
-
Pádraig Brady authored
* src/force-link.h: Don't include headers already included by system.h * src/force-link.c: Likewise. Also include system.h and explicitly mark extern functions as such.
-
- 12 Feb, 2017 1 commit
-
-
Paul Eggert authored
If the file B already exists, commands like 'ln -f A B' and 'cp -fl A B' no longer remove B before creating the new link. Instead, they arrange for the new link to replace B atomically. This should fix a race condition reported by Mike Crowe (Bug#25680). * NEWS, doc/coreutils.texi (cp invocation, ln invocation): Document this. * bootstrap.conf (gnulib_modules): Add symlinkat. * src/copy.c, src/ln.c: Include force-link.h. * src/copy.c (same_file_ok): It's also OK to remove a destination symlink when creating symbolic links, or when the source and destination are on the same file system and when creating hard links. * src/copy.c (create_hard_link, copy_internal): * src/ln.c (do_link): Rewrite using force_linkat and force_symlinkat, to close a window where the destination temporarily does not exist. * src/cp.c (main): Do not set x.unlink_dest_before_opening merely because we are in link-creation mode. * src/force-link.c, src/force-link.h: New files. * src/local.mk (copy_sources, src_ln_SOURCES): Add them. * tests/cp/same-file.sh: Adjust test case to match fixed behavior.
-
- 10 Feb, 2017 2 commits
-
-
Tobias Stoeckmann authored
The race is unlikely, as timeout(1) needs to receive a signal in the few operations between waitpid() returning and exit(). Also the system needs to have reallocated the just released pid in this time window. Previously we never disabled the signal handler that sent the termination signal to the "child" pid. However once waitpid() has reaped the child, the system is free to allocate that pid, so we must ensure we don't process any further signals. * build-aux/gen-lists-of-programs.sh: Build timeout(1) optionally... * configure.ac: ...predicated on sigsuspend() being available. * src/timeout.c (block_cleanup): A new function to ensure the cleanup() handler is disabled after waitpid has returned. (main): Use sigsuspend() to wait with cleanup() enabled but disabled once it returns, and thus disabled for the waitpid() call. (monitored_pid): Change to the more accurate pid_t. * NEWS: Mention the fix. Fixes http://bugs.gnu.org/25624
-
Pádraig Brady authored
* doc/coreutils.texi (realpath invocation): Mention that realpath is the preferred command for canonicalization. (readlink invocation): Likewise. * man/readlink.x: Likewise.
-
- 08 Feb, 2017 4 commits
-
-
Janne Snabb authored
* src/tail.c (check_fspec): Only enable printing of the file header if we've actually read some data and this is a new file. Also move printing of the file header to... (dump_remainder): ...here, to allow printing only when data read. * tests/tail-2/overlay-headers.sh: A new test for suspension and resumption of tail. * tests/local.mk: Reference the new test. * NEWS: Mention the fix. Fixes http://bugs.gnu.org/23539
-
Pádraig Brady authored
* tests/tail-2/retry.sh: The replacement of the "missing" directory is not atomic, and therefore tail(1) can take a different path, especially if there is a delay between the rmdir(2) and creat(2). This is noticeable for example with `make coverage` because in that case the coverage files written by rmdir(1) on exit, induce a significant delay thus triggering the issue.
-
Pádraig Brady authored
* src/tail.c (recheck): Set f->ignore before we use it to show the appropriate error. * tests/tail-2/retry.sh: Ensure the "giving up" message is not presented.
-
Pádraig Brady authored
Remove old log files that have corresponding entries in the source code repository. This saves about 2.5MB uncompressed, 0.5M compressed. * Makefile.am (gen-ChangeLog): Adjust to taking all logs since a particular version (8.15 in this case). Also mention in the truncated log where to get older entries. (changelog_etc): Remove the no longer distributed files. * build-aux/git-log-fix: Remove now unused entries. * ChangeLog-200[5-8]: Delete. * doc/ChangeLog-2007: Likewise. * po/ChangeLog-2007: Likewise. * old/*: Likewise.
-
- 07 Feb, 2017 1 commit
-
-
Maxime de Roucy authored
* HACKING: s/make TEST=/make check TEST=/ The 'check' target was missing there since v8.20-57-geac397ef.
-
- 25 Jan, 2017 2 commits
-
-
Pádraig Brady authored
* src/copy.c (punch_hole): Work around an empty definition of HAVE_FALLOCATE which leads to a build error of: "error: #if with no expression" That was triggered by the inclusion of <linux/fs.h> in commit v8.25-68-g89e1fef9 with kernel-headers-2.6.18. Reported by Nelson H. F. Beebe
-
Manolis Ragkousis authored
* src/local.mk (cu_install_program): Replace @INSTALL_PROGRAM@ with @INSTALL@ when cross-compiling; missed in commit 477a1e8e. Message-Id: <20170125163329.5690-1-manolis837@gmail.com> Copyright-paperwork-exempt: Yes
-
- 21 Jan, 2017 1 commit
-
-
Mike Swanson authored
* src/dircolors.hin: Match *.{wim,swm,dwn,esd}
-