Author: korli Date: 2009-11-14 19:40:38 +0100 (Sat, 14 Nov 2009) New Revision: 34038 Changeset: http://dev.haiku-os.org/changeset/34038/haiku Added: haiku/vendor/coreutils/current/lib/dirent--.h haiku/vendor/coreutils/current/lib/dirent-safer.h haiku/vendor/coreutils/current/lib/fdopendir.c haiku/vendor/coreutils/current/lib/fopen.c haiku/vendor/coreutils/current/lib/iconv_open-solaris.gperf haiku/vendor/coreutils/current/lib/iconv_open-solaris.h haiku/vendor/coreutils/current/lib/link.c haiku/vendor/coreutils/current/lib/openat-safer.c haiku/vendor/coreutils/current/lib/opendir-safer.c Modified: haiku/vendor/coreutils/current/ChangeLog haiku/vendor/coreutils/current/Makefile.am haiku/vendor/coreutils/current/Makefile.in haiku/vendor/coreutils/current/NEWS haiku/vendor/coreutils/current/THANKS haiku/vendor/coreutils/current/aclocal.m4 haiku/vendor/coreutils/current/bootstrap haiku/vendor/coreutils/current/bootstrap.conf haiku/vendor/coreutils/current/configure haiku/vendor/coreutils/current/configure.ac haiku/vendor/coreutils/current/doc/Makefile.in haiku/vendor/coreutils/current/doc/coreutils.info haiku/vendor/coreutils/current/doc/coreutils.texi haiku/vendor/coreutils/current/doc/stamp-vti haiku/vendor/coreutils/current/doc/version.texi haiku/vendor/coreutils/current/lib/Makefile.in haiku/vendor/coreutils/current/lib/at-func.c haiku/vendor/coreutils/current/lib/backupfile.c haiku/vendor/coreutils/current/lib/buffer-lcm.c haiku/vendor/coreutils/current/lib/canonicalize.c haiku/vendor/coreutils/current/lib/chdir-long.c haiku/vendor/coreutils/current/lib/chown.c haiku/vendor/coreutils/current/lib/cloexec.c haiku/vendor/coreutils/current/lib/close.c haiku/vendor/coreutils/current/lib/config.hin haiku/vendor/coreutils/current/lib/dirent.in.h haiku/vendor/coreutils/current/lib/dup-safer.c haiku/vendor/coreutils/current/lib/dup2.c haiku/vendor/coreutils/current/lib/euidaccess-stat.c haiku/vendor/coreutils/current/lib/euidaccess.c haiku/vendor/coreutils/current/lib/exclude.c haiku/vendor/coreutils/current/lib/fchdir.c haiku/vendor/coreutils/current/lib/fchmodat.c haiku/vendor/coreutils/current/lib/fchownat.c haiku/vendor/coreutils/current/lib/fcntl--.h haiku/vendor/coreutils/current/lib/fcntl-safer.h haiku/vendor/coreutils/current/lib/fcntl.in.h haiku/vendor/coreutils/current/lib/fstatat.c haiku/vendor/coreutils/current/lib/fts.c haiku/vendor/coreutils/current/lib/fts_.h haiku/vendor/coreutils/current/lib/getcwd.c haiku/vendor/coreutils/current/lib/gnulib.mk haiku/vendor/coreutils/current/lib/iconv_open.c haiku/vendor/coreutils/current/lib/ignore-value.h haiku/vendor/coreutils/current/lib/inet_ntop.c haiku/vendor/coreutils/current/lib/lchown.c haiku/vendor/coreutils/current/lib/mbsalign.c haiku/vendor/coreutils/current/lib/memxfrm.c haiku/vendor/coreutils/current/lib/mgetgroups.c haiku/vendor/coreutils/current/lib/mkdirat.c haiku/vendor/coreutils/current/lib/mkstemp.c haiku/vendor/coreutils/current/lib/open.c haiku/vendor/coreutils/current/lib/openat-priv.h haiku/vendor/coreutils/current/lib/openat-proc.c haiku/vendor/coreutils/current/lib/openat.c haiku/vendor/coreutils/current/lib/openat.h haiku/vendor/coreutils/current/lib/progname.c haiku/vendor/coreutils/current/lib/quotearg.c haiku/vendor/coreutils/current/lib/quotearg.h haiku/vendor/coreutils/current/lib/rand-isaac.c haiku/vendor/coreutils/current/lib/randint.c haiku/vendor/coreutils/current/lib/randperm.c haiku/vendor/coreutils/current/lib/randread.c haiku/vendor/coreutils/current/lib/rename.c haiku/vendor/coreutils/current/lib/root-dev-ino.h haiku/vendor/coreutils/current/lib/savedir.c haiku/vendor/coreutils/current/lib/savewd.c haiku/vendor/coreutils/current/lib/select.c haiku/vendor/coreutils/current/lib/selinux-at.c haiku/vendor/coreutils/current/lib/selinux-at.h haiku/vendor/coreutils/current/lib/set-mode-acl.c haiku/vendor/coreutils/current/lib/settime.c haiku/vendor/coreutils/current/lib/stdio--.h haiku/vendor/coreutils/current/lib/stdio-safer.h haiku/vendor/coreutils/current/lib/stdio.in.h haiku/vendor/coreutils/current/lib/stdlib.in.h haiku/vendor/coreutils/current/lib/string.in.h haiku/vendor/coreutils/current/lib/strnumcmp-in.h haiku/vendor/coreutils/current/lib/strnumcmp.c haiku/vendor/coreutils/current/lib/sys_socket.in.h haiku/vendor/coreutils/current/lib/sys_stat.in.h haiku/vendor/coreutils/current/lib/tempname.c haiku/vendor/coreutils/current/lib/tempname.h haiku/vendor/coreutils/current/lib/unistd.in.h haiku/vendor/coreutils/current/lib/utimens.c haiku/vendor/coreutils/current/lib/vasnprintf.c haiku/vendor/coreutils/current/lib/wctype.in.h haiku/vendor/coreutils/current/lib/xfreopen.c haiku/vendor/coreutils/current/lib/xfts.c haiku/vendor/coreutils/current/lib/xfts.h haiku/vendor/coreutils/current/lib/xgethostname.c haiku/vendor/coreutils/current/lib/xmemxfrm.c haiku/vendor/coreutils/current/man/Makefile.in haiku/vendor/coreutils/current/man/base64.1 haiku/vendor/coreutils/current/man/basename.1 haiku/vendor/coreutils/current/man/cat.1 haiku/vendor/coreutils/current/man/chcon.1 haiku/vendor/coreutils/current/man/chgrp.1 haiku/vendor/coreutils/current/man/chmod.1 haiku/vendor/coreutils/current/man/chown.1 [... truncated: 203 changed files follow ...] Log: update coreutils to 7.6 Modified: haiku/vendor/coreutils/current/ChangeLog =================================================================== --- haiku/vendor/coreutils/current/ChangeLog 2009-11-14 14:44:31 UTC (rev 34037) +++ haiku/vendor/coreutils/current/ChangeLog 2009-11-14 18:40:38 UTC (rev 34038) @@ -1,5 +1,577 @@ +2009-09-11 Jim Meyering <meyering@xxxxxxxxxx> + + version 7.6 + * NEWS: Record release date. + +2009-09-10 Jim Meyering <meyering@xxxxxxxxxx> + + link,ln: use gnulib's link module to work around Solaris 10 deficiency + Before this change, :>f; ln -T f no-such/ would succeed on Solaris 10. + After it, ln fails, as it should: ln: accessing `z/': Not a directory + The command, link f no-such/, had the same problem on that system. + * bootstrap.conf (gnulib_modules): Add "link". + * tests/ln/slash-decorated-nonexistent-dest: New test. + * tests/Makefile.am (TESTS): Add it. + * NEWS (Portability): Mention the improvement. + + build: update gnulib submodule to latest + +2009-09-10 Ondřej Vašík <ovasik@xxxxxxxxxx> + + doc: improve various BLOCKSIZE and SIZE help + * doc/coreutils.texi (multiplierSuffixes): Mention that + the suffix can be specified without a leading number + * src/split.c (usage): Refactor SIZE help to within a function + * src/truncate.c (usage): Likewise + * src/ls.c (usage): Likewise + * src/df.c (usage): Likewise. Also add a function with BLOCKSIZE help + * src/du.c (usage): Likewise. + * src/system.h: Define 2 functions to emit common help text + This was prompted by https://bugzilla.redhat.com/show_bug.cgi?id=511188 + +2009-09-10 Jim Meyering <meyering@xxxxxxxxxx> + + dd conv=unblock: print final newline consistently + * src/dd.c (dd_copy) [C_UNBLOCK]: Always print the final newline for + non-empty output, not just when output size is a multiple of cbs. + * doc/coreutils.texi (dd invocation) [conv=unblock]: Mention that dd + prints a newline after each output record, not just when replacing + trailing spaces. + Reported by Ulrich Drepper. + * tests/dd/unblock: New file. Test for this. + * tests/Makefile.am (TESTS): Add it. + * NEWS (Bug fixes): Mention it. + +2009-09-09 Jim Meyering <meyering@xxxxxxxxxx> + + maint: make cfg.mk slightly more generic + * cfg.mk (url_dir_list): Don't hard-code "coreutils". Use $(PACKAGE). + +2009-09-08 Jim Meyering <meyering@xxxxxxxxxx> + + * gnulib: Update submodule to latest. + + tail: make the new piped-stdin test as portable as the old one + * src/tail.c (main): Adapt piped-stdin test to use the same isapipe, + test as was used in the preceding POSIXLY_CORRECT condition. + Remove the now-subsumed POSIXLY_CORRECT test. + Reported by Pádraig Brady. + * doc/coreutils.texi (tail invocation): Document this change. + * NEWS (Changes in behavior): Reclassify, clarify. + +2009-09-08 Pádraig Brady <P@xxxxxxxxxxxxxx> + + tests: tail-2/assert: reduce risk of race condition + * tests/tail2/assert: This reverts commit be853120, 25-08-2009, + "tests: tail-2/assert: avoid risk of race condition" + kill -0 doesn't send a signal and so will only confirm that the + background process was forked, which we know already because + we have its pid. + + tests: address a race condition in misc/cat-buf + * tests/misc/cat-buf: Increase the delay between writes + to decrease the chance that dd will read both at once. + Since the test is inherently racy, print a warning via + skip_test_ rather than failing outright. + Reported by Jim Meyering. + +2009-09-07 Jim Meyering <meyering@xxxxxxxxxx> + + tail: syntax-only: use "false", rather than equivalent, 0 + * src/tail.c (record_open_fd): Initialize "->ignore" to false, not 0. + + tail: ignore -f for piped-stdin, as POSIX requires + * src/tail.c (main): Tailing a pipe "forever" is not useful, + and POSIX specifies that tail ignore the -f when there is no + file argument and stdin is a FIFO or pipe. So we do that. + In addition, GNU tail excludes "-" arguments from the list of files + to tail forever, when the associated file descriptor is connected + to a FIFO or pipe. Before this change, ":|tail -f" would hang. + Reported by Ren Yang and Ulrich Drepper. + * tests/tail-2/pipe-f: Test for this. + * tests/tail-2/pipe-f2: Ensure tail doesn't exit early for a fifo. + * tests/Makefile.am (TESTS): Add these tests. + * NEWS (POSIX conformance): Mention it. + +2009-09-07 Pádraig Brady <P@xxxxxxxxxxxxxx> + + tests: tail-2/flush-initial should not rely on stdbuf + * tests/tail-2/flush-initial: stdbuf is not built on all systems. + In any case it's redundant since stdout will automatically be buffered + since we're redirecting to file. So just call tail without using stdbuf. + +2009-09-07 Jim Meyering <meyering@xxxxxxxxxx> + + tail: don't give up on inotify mode for an already-ignored "-" + * src/tail.c (main): Adjust today's change to honor the + F[i].ignore flag that may have been set in tail_file. + + tests: misc/cat-buf: clean up syntax + * tests/misc/cat-buf: Don't suppress dd's stderr. + Remove useless quotes. + + tests: ls/color-clear-to-eol: append NL to accommodate old sed + * tests/ls/color-clear-to-eol: Some vendor sed programs fail + to operate on lines that are not NL-terminated. + This affects at least Solaris 10's /bin/sed. + Reported by Pádraig Brady. + + tests: tail-2/infloop-1: avoid rare test failure on a busy system + * tests/tail-2/infloop-1: Sleep 3 seconds, not 1, but in increments + of 0.1 second. Before, this test would fail ~1 time in 20 via + "make -j9 check" on a quad-core system. + Correct comment. + + build: update gnulib submodule to latest + + doc: tweak NEWS + * NEWS (dd): Tweak wording. + Two blank lines between sections. + + tail -f: handle "-"/stdin once again + * src/tail.c (main) [HAVE_INOTIFY]: When stdin (i.e., "-", or no args, + but not /dev/stdin) is specified on the command line, don't use inotify. + Reported by Bill Brelsford in <http://bugs.debian.org/545422>. + * tests/tail-2/follow-stdin: New file. Test for this. + * tests/Makefile.am (TESTS): Add the test. + * NEWS (Bug fixes): Mention it. + This bug was introduced in coreutils-7.5 via commit ae494d4b, + 2009-06-02, "tail: use inotify if it is available". + +2009-09-06 Jim Meyering <meyering@xxxxxxxxxx> + + tests: tail-2/flush-initial: correct race avoidance code + * tests/tail-2/flush-initial: Wait for the file to be nonempty, + not for the process. Based on a suggestion from Pádraig Brady. + + tests: ls-misc: don't let a bogus umask cause test failure + * tests/misc/ls-misc: Set umask to 022. A umask setting permitting + world-write access, e.g., umask o+w, would cause this test to fail. + Report by Mathias Brodala and analysis by Tom Fitzhenry in + <http://bugs.debian.org/544965>. + + tail: flush initial output before possibly blocking + * src/tail.c (main): Flush any output from tail_file, + before calling tail_forever_inotify, which can block. + * tests/tail-2/flush-initial: New file. Test for the bug. + * tests/Makefile.am (TESTS): Add tail-2/flush-initial. + * NEWS (Bug fixes): Mention it. + This bug was introduced in coreutils-7.5 via commit ae494d4b, + 2009-06-02, "tail: use inotify if it is available". + +2009-09-05 Jim Meyering <meyering@xxxxxxxxxx> + + maint: remove unused file: lib/fdopendir-glibc.c + * lib/fdopendir-glibc.c: Remove unused file. + + 2009-09-05 Jim Meyering <meyering@xxxxxxxxxx> + + tests: ls/stat-vs-dirent: avoid spurious test failure + * tests/ls/stat-vs-dirent: Avoid test failure when run from a + directory whose name (or ancestor directory name) starts with ".". + +2009-09-05 Pádraig Brady <P@xxxxxxxxxxxxxx> + + doc: make the tail --sleep-interval help less confusing + * src/tail.c (usage): I read "approximately S seconds" + as "approximately 5 seconds" for approximately 5 seconds. + + maint: remove some tab indentation from copy.c + * src/copy.c (copy_internal): Remove tabs erroneously added + in commit 3346c0af. + + tests: test old tail -f method even on systems with inotify + * src/tail.c (main): Add an undocumented ---disable-inotify option + to allow disabling inotify. + * tests/tail-2/pid: Run test in both normal and "disable_inotify" modes. + * tests/tail-2/tail-n0f: Likewise. + * tests/tail-2/wait: Likewise. + * tests/tail-2/append-only: Likewise. + +2009-09-05 Jim Meyering <meyering@xxxxxxxxxx> + + build: update gnulib submodule to latest + +2009-09-05 Petr Salinger <Petr.Salinger@xxxxxxxxx> + + stty: use TAB0, TAB1, and TAB2 only if defined + * src/stty.c (mode_info) [TAB0, TAB1, TAB2]: Guard each + entry with #ifdef. Required for GNU/kFreeBSD. + Reported by Petr Salinger in http://bugs.debian.org/520368. + +2009-09-05 Eric Blake <ebb9@xxxxxxx> + + build: update from gnulib + * gnulib: Update submodule to latest. + +2009-09-04 Eric Blake <ebb9@xxxxxxx> + + ln: add comments related to POSIX 2008 + * src/ln.c (ENABLE_HARD_LINK_TO_SYMLINK_WARNING): Delete. + (do_link): Update comments per POSIX; add FIXME for -L, -P. + + mv, cp: tweak LINK_FOLLOWS_SYMLINKS logic + * gnulib: Update to latest gnulib. + * src/copy.c (copy_internal): Adjust comment in light of POSIX + 2008, and deal with macro now being tri-state. + +2009-09-04 Petr Salinger <Petr.Salinger@xxxxxxxxx> + + tests: fix a tail-2/pid failure on GNU/kFreeBSD + * tests/tail-2/wait: Increase the file name recheck frequency to + fix a failure on systems without inotify and a file timestamp precision + of 1 second (like GNU/kFreeBSD). + +2009-09-04 Pádraig Brady <P@xxxxxxxxxxxxxx> + + tests: fix a failure when running tail-2/wait as root + * tests/tail-2/wait: Silently skip a portion of the test + when running as root, rather than failing the whole test. + This regression was introduced with commit 84b5844d, 2009-09-03, + "tests: simplify and fix a race in 2 tail --follow tests". + +2009-09-04 Mike Frysinger <vapier@xxxxxxxxxx> + + build: fix libcap configure flag handling + * m4/jm-macros.m4 (coreutils_MACROS): The code to handle configure-time + enabling or disabling of libcap support was broken. It would treat any + libcap configure option as --disable-libcap because it doesn't check + $enableval at all. This change makes sure we do the sane thing: + --disable-libcap -> disable and don't run any tests + --enable-libcap -> run tests and fail if not found + default -> run tests and warn if not found + +2009-09-03 Jim Meyering <meyering@xxxxxxxxxx> + + df: don't fail due to an unreadable argument + * src/df.c (main): If open or fstat fails when we're trying to ensure + that all arg-partitions are automounted, fall back on using stat. + Inspired by the report and patch from Olivier Fourdan in + http://bugzilla.redhat.com/520630. + * NEWS (Bug fixes): Mention it. + * tests/df/unreadable: New test for the above. + * tests/Makefile.am (TESTS): Add df/unreadable. + The bug was introduced in coreutils-7.3 via commit dbd17157, + 2009-04-28, "df: use open(2), not stat, to trigger automounting". + +2009-09-03 Kamil Dudka <kdudka@xxxxxxxxxx> + + doc: install -C: fix bug in the texi documentation + * doc/coreutils.texi: Move the documentation for install --compare (-C) + from the section on fmt to that for install. + Reported by Florian Schlichting. + +2009-09-03 Pádraig Brady <P@xxxxxxxxxxxxxx> + + tests: simplify and fix a race in 2 tail --follow tests + * tests/tail-2/pid: Use the timeout command to determine process + longevity, rather than querying /proc/$pid/status. + The latter was racy in any case when inotify is used, as then + tail wakes up periodically even for unchanging files therefore + causing the check for "S (sleeping)" state to fail intermittently. + * tests/tail-2/wait: Likewise. + +2009-09-03 Ondřej Vašík <ovasik@xxxxxxxxxx> + + cp: don't leak resources for each xattr preservation failure + * src/copy.c (copy_reg): Don't return from the function after an + unsuccessful and required preservation of extended attributes. + This resulted in leaking the copy buffer and file descriptors. + * NEWS (Bug fixes): Mention the fix. + The bug was introduced in coreutils-7.1 via commit 0889381c, 2009-01-23, + "cp/mv: add xattr support". + +2009-09-01 Pádraig Brady <P@xxxxxxxxxxxxxx> + + chcon, chmod, chgrp, chown, du: report fts_close failure + * src/du.c (du_files): Don't fail silently upon fts_close failure. + * src/chcon.c (process_files): Likewise. + * src/chmod.c (process_files): Likewise. + * src/chown-core.c (chown_files): Likewise. + +2009-09-01 Jim Meyering <meyering@xxxxxxxxxx> + + build: update from gnulib + * gnulib: Update submodule to latest. + + chcon, chmod, chgrp, chown, du: do not ignore fts_close failure + This is probably never visible, but who knows... + * src/chcon.c (process_files): Don't ignore fts_close failure. + * src/chmod.c (process_files): Likewise. + * src/chown-core.c (chown_files): Likewise. + * src/du.c (du_files): Likewise. + + maint: du: remove unnecessary initialization + * src/du.c (main): Don't set "skip_file" unnecessarily. + + maint: chown, chgrp, chmod, chcon: remove unnecessary initialization + * src/chown-core.c: Include "ignore-value.h". + (change_file_owner): Don't set "ent" only to ignore it. + * src/chcon.c (process_file): Likewise. + * src/chmod.c: Include "ignore-value.h". + (process_file): Don't set "ent" only to ignore it. + After diagnosing root-dev/ino failure, return false immediately: + Now that we don't set "ent" we must be sure not to use it uninitialized, + and there's no point in issuing --verbose-related output in this case. + + maint: shred: remove unnecessary initialization + * src/shred.c (genpattern): Value stored to "n" is never used. + + maint: dd: remove unnecessary initialization + * src/dd.c (skip): Remove set-but-never-used variable, soffset. + + maint: tail: remove unnecessary initialization + * src/tail.c (tail_bytes): Don't compute "diff" twice. + + maint: mbsalign.c: remove unnecessary assignment + * gl/lib/mbsalign.c (mbsalign): Remove assignment, the result of which + is never used. + +2009-09-01 Pádraig Brady <P@xxxxxxxxxxxxxx> + + timeout: remove a redundant assignment + * src/timeout.c (main): While keeping argc and argv in + sync may be marginally useful, it is redundant to update argc, + so just remove that to suppress the clang warning. + + timeout: defensive handling of all wait() errors + * src/timeout.c (main): Handle all possible cases of unexpected + failures from wait(). This was prompted by the clang tool reporting + the possible non-initialization of the status variable. + +2009-09-01 Jim Meyering <meyering@xxxxxxxxxx> + + ls -i: print consistent inode numbers also for mount points + On most unix- and linux-based kernels, ls -i DIR_CONTAINING_MOUNT_POINT + would print the wrong inode number for any entry that is a mount point. + It would do that by relying on readdir's dirent.d_ino values, while + most readdir implementations return the inode number of the underlying, + inaccessible directory. Thus, it is not consistent with what you'd + get when applying stat to the same entry. This bug led to surprising + results like "ls -i" and "ls -i --color" printing different numbers (ls + must usually "stat" a file to colorize its name). This change makes it + so that on offending systems, ls must stat non-command-line-arguments + for which otherwise it would be able to use "for free" dirent.d_ino + values. Regardless of this change, ls is already required to stat every + command-line argument. Note: versions of GNU ls prior to coreutils-6.0 + did not perform the invalid optimization, and hence always printed + correct inode numbers. Thus, for the sake of correctness, ls -i is + forgoing the readdir optimization, for any kernel (including linux!) + with POSIX-nonconforming readdir. Note that currently, only Cygwin has + been agile enough to conform. + + * src/ls.c (RELIABLE_D_INO): Define. + (print_dir): Use it. + For plenty of discussion, see this long thread: + http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14020 + This bug was introduced by the 2006-02-26 commit, 33eb3efe: + "In ls, avoid calling stat for --inode (-i), when possible." + * tests/ls/readdir-mountpoint-inode: New test. + * tests/Makefile.am (TESTS): Add it. + * tests/ls/stat-vs-dirent: Don't suppress failure of this test, + now that ls -i is fixed. Though note that it doesn't test well, + since it compares only the always-stat'd command-line arguments. + * NEWS (Bug fixes): Mention it. + +2009-08-31 Jim Meyering <meyering@xxxxxxxxxx> + + maint: revert my stdbuf change: the result didn't even compile + This reverts commit c1e158489d88bad418d52ceadf37af0b6f5b2112. + +2009-08-30 Jim Meyering <meyering@xxxxxxxxxx> + + maint: stdbuf: move a declaration; no-semantic-change + * src/stdbuf.c (set_program_path): Move a declaration down into + the scope where it's used. + + build: quiet "make check" in src/ + * src/Makefile.am (check-duplicate-no-install): Use $(AM_V_GEN). + (check-README): Likewise. And $(AM_V_at). + + doc: cp: update note on preserving symlink time stamps + * doc/coreutils.texi (cp invocation): Now, we *do* preserve time + stamps on symlinks, when possible. + + build: update bootstrap from gnulib + * bootstrap: Merge from gnulib. + +2009-08-30 Pádraig Brady <P@xxxxxxxxxxxxxx> + + tests: don't misbehave if $TMPDIR contains spaces + * tests/misc/xattr: Add quotes. + * tests/mv/acl: Likewise. + * tests/mv/backup-is-src: Likewise. + * tests/mv/hard-link-1: Likewise. + * tests/mv/leak-fd: Likewise. + * tests/mv/mv-special-1: Likewise. + * tests/mv/part-fail: Likewise. + * tests/mv/part-hardlink: Likewise. + * tests/mv/part-rename: Likewise. + * tests/mv/part-symlink: Likewise. + * tests/mv/partition-perm: Likewise. + * tests/mv/sticky-to-xpart: Likewise. + +2009-08-29 Jim Meyering <meyering@xxxxxxxxxx> + + tests: other-fs-tmpdir: don't misbehave for quote-unfriendly $TMPDIR + * tests/other-fs-tmpdir: Quote uses of variables that might expand + to strings containing e.g., whitespace. + + build: update from gnulib + * gnulib: Update submodule to latest. + + tests: move a coreutils-specific test from maint.mk to Makefile.am + * Makefile.am (distcheck-hook): Make taint-distcheck here, since it's + no longer done via maint.mk. + + tests: cp/reflink-auto guard against a pathological $TMPDIR + * tests/cp/reflink-auto: Add quotes. + +2009-08-29 Pádraig Brady <P@xxxxxxxxxxxxxx> + + cp --reflink: preserve attributes on cloned files if asked + * src/copy.c (copy_reg): When cloning only skip the data copying + * tests/cp/reflink-perm: New test to check times and modes copied + * tests/Makefile.am: Reference the new test + * NEWS: Mention the fix + + cp --reflink: add an "auto" parameter to fall back to a normal copy + * doc/coreutils.texi (cp invocation): Document the new + "auto" and "always" options to --reflink. + * src/copy.c (copy_reg): Fall back to a standard copy + when reflink() is not supported and --reflink=auto specified. + * src/copy.h [struct cp_options] (reflink): Change type s/bool/enum/. + * src/cp.c (usage): Describe the --reflink={always,auto} options + and expand a little on what --reflink does. + (main): parse the new parameters to --reflink and allow all + --sparse options with --reflink=auto. + * src/install.c (cp_option_init): Init the enum instead of bool. + * src/mv.c (cp_option_init): Likewise. + * tests/cp/reflink-auto: A new test for falling back to normal copy. + * tests/Makefile.am: Reference the new test. + * NEWS: Mention the new feature. + + stdbuf: fix a small typo in --help output + * src/stdbuf.c (usage): s/then/the/ + +2009-08-28 Eric Blake <ebb9@xxxxxxx> + + build: avoid unused variable warnings on cygwin + * src/copy.c (clone_file, copy_attr_by_fd, copy_attr_by_name): + Mark up unused variables. + * src/remove.c (dirent_inode_sort_may_be_useful): Likewise. + + dd: detect closed stderr + * src/dd.c (maybe_close_stdout): Always flush stderr; regression + introduced in commit 381e69ea. + * tests/misc/close-stdout (p): Use consistent style. + * tests/dd/stderr: New test, borrowing from misc/close-stdout. + * tests/Makefile.am (TESTS): Run it. + * NEWS: Mention this. + +2009-08-28 Jim Meyering <meyering@xxxxxxxxxx> + + maint: ignore only man/*.1, not all *.1 files + * .gitignore: Ignore *.1 only in man/ + +2009-08-27 Jim Meyering <meyering@xxxxxxxxxx> + + build: prefix a few rules with $(AM_V_GEN) + * Makefile.am (.version, dist-hook, gen-ChangeLog): Use $(AM_V_GEN) + and $(AM_V_at), so that automake's silent-rules option (make V=1/V=0) + now controls whether the commands are printed at build time. + (THANKS-to-translators, check-ls-dircolors): Likewise. + +2009-08-26 Jim Meyering <meyering@xxxxxxxxxx> + + build: stop earlier if touching ChangeLog fails + * bootstrap.conf: Exit right away if touching ChangeLog fails. + Otherwise, the touch failure message is buried under configure output. + + tests: mkdir/selinux: avoid spurious failure on some SELinux systems + * tests/test-lib.sh (require_selinux_enforcing_): New function. + * tests/mkdir/selinux: Use it. + Otherwise, this test would fail on Rawhide with SELinux disabled. + + tests: tail-2/assert: avoid risk of race condition + * tests/tail-2/assert: Avoid spurious failure due to race condition. + Rather than sleeping for 1 second and crossing fingers, + wait explicitly for backgrounded tail process to start. + Otherwise, this test would fail under heavy load. + +2009-08-25 Jim Meyering <meyering@xxxxxxxxxx> + + maint: ensure we don't embed Emacs indent-tabs-mode setting lines + Now that we prohibit indentation via TABs, there's no need for + Emacs indent-tabs-mode setting lines, so prohibit those, too. + * cfg.mk (sc_prohibit_emacs__indent_tabs_mode__setting): New rule. + + maint: remove Local Variables: indent-tabs-mode: nil from all sources + * src/getlimits.c: Likewise. + * src/group-list.c: Likewise. + * src/groups.c: Likewise. + * src/mktemp.c: Likewise. + * src/setuidgid.c: Likewise. + * src/stdbuf.c: Likewise. + * src/timeout.c: Likewise. + * src/truncate.c: Likewise. + * gl/lib/mbsalign.c: Likewise. + * tests/test-lib.sh: Likewise. + * bootstrap: Likewise. + * README-hacking: Likewise. + + doc: HACKING: mention the new space-only indentation policy + + maint: teach "make syntax-check" the space-only indentation rule + * cfg.mk (sc_prohibit_tab_based_indentation): New rule. + * .x-sc_prohibit_tab_based_indentation: New file. + * Makefile.am (syntax_check_exceptions): Add file, + .x-sc_prohibit_tab_based_indentation. + + global: convert indentation-TABs to spaces + Transformed via this shell code: + t=$'\t' + git ls-files \ + | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \ + | grep -vE 'tests/pr/|help2man' \ + | xargs grep -lE "^ *$t" \ + | xargs perl -MText::Tabs -ni -le \ + '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' + +2009-08-24 Jim Meyering <meyering@xxxxxxxxxx> + + cp: ignore obscure failure to preserve symlink time stamps, + ...when run on a kernel older than what was implied by headers and + libraries tested at configure time. + * src/copy.c (utimens_symlink): Ignore failure when errno == ENOSYS. + * NEWS (Bug fixes): Mention it. + Reported by Todd Zullinger and Kamil Dudka. + Details in this thread: + http://thread.gmane.org/gmane.linux.redhat.fedora.devel/119834 + +2009-08-23 Jim Meyering <meyering@xxxxxxxxxx> + + tests: skip (don't fail) a cp test, upon mount-related failure + * tests/cp/cp-mv-enotsup-xattr: Upon a set-up failiure, rather than + failing the test with a "framework failure" diagnostic, just skip it. + Russell Whitaker reported that this test failed on slackware. + + build: update from *public* gnulib + * gnulib: Update submodule to latest. + Kamil Dudka reported that bootstrap was broken. + +2009-08-22 Jim Meyering <meyering@xxxxxxxxxx> + + build: update from gnulib + * gnulib: Update submodule to latest. + 2009-08-20 Jim Meyering <meyering@xxxxxxxxxx> + post-release administrivia + * NEWS: Add header line for next release. + * .prev-version: Record previous version. + * cfg.mk (old_NEWS_hash): Auto-update. + version 7.5 * NEWS: Record release date. Modified: haiku/vendor/coreutils/current/Makefile.am =================================================================== --- haiku/vendor/coreutils/current/Makefile.am 2009-11-14 14:44:31 UTC (rev 34037) +++ haiku/vendor/coreutils/current/Makefile.am 2009-11-14 18:40:38 UTC (rev 34038) @@ -49,6 +49,7 @@ .x-sc_prohibit_atoi_atof \ .x-sc_prohibit_stat_st_blocks \ .x-sc_prohibit_strcmp \ + .x-sc_prohibit_tab_based_indentation \ .x-sc_require_config_h \ .x-sc_require_config_h_first \ .x-sc_space_tab \ @@ -97,20 +98,20 @@ BUILT_SOURCES = .version .version: - echo $(VERSION) > $@-t && mv $@-t $@ + $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@ # Arrange so that .tarball-version appears only in the distribution # tarball, and never in a checked-out repository. # The perl substitution is to change some key uses of "rm" to "/bin/rm". # See the rm_subst comment for details. dist-hook: gen-ChangeLog - echo $(VERSION) > $(distdir)/.tarball-version - perl -pi -e '$(rm_subst)' $(distdir)/src/Makefile.in + $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version + $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/src/Makefile.in gen_start_date = 2008-02-08 .PHONY: gen-ChangeLog gen-ChangeLog: - if test -d .git; then \ + $(AM_V_GEN)if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --since=$(gen_start_date) > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ @@ -120,11 +121,12 @@ ALL_RECURSIVE_TARGETS += distcheck-hook distcheck-hook: check-ls-dircolors $(MAKE) my-distcheck + $(MAKE) taint-distcheck DISTCLEANFILES = VERSION MAINTAINERCLEANFILES = THANKS-to-translators THANKS-to-translators: po/LINGUAS THANKStt.in - ( \ + $(AM_V_GEN)( \ cat $(srcdir)/THANKStt.in; \ for lang in `cat $(srcdir)/po/LINGUAS`; do \ echo http://translationproject.org/team/$$lang.html; \ @@ -135,7 +137,7 @@ # remain in sync. .PHONY: check-ls-dircolors check-ls-dircolors: - dc=$$(sed -n '/static.*ls_codes\[/,/};'/p \ + $(AM_V_GEN)dc=$$(sed -n '/static.*ls_codes\[/,/};'/p \ $(srcdir)/src/dircolors.c \ |sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \ |sed -n 's/^"\(..\)"/\1/p'|sort -u); \ Modified: haiku/vendor/coreutils/current/Makefile.in =================================================================== --- haiku/vendor/coreutils/current/Makefile.in 2009-11-14 14:44:31 UTC (rev 34037) +++ haiku/vendor/coreutils/current/Makefile.in 2009-11-14 18:40:38 UTC (rev 34038) @@ -76,22 +76,23 @@ $(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \ $(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/cycle-check.m4 \ $(top_srcdir)/m4/d-ino.m4 $(top_srcdir)/m4/d-type.m4 \ - $(top_srcdir)/m4/dirent_h.m4 $(top_srcdir)/m4/dirfd.m4 \ - $(top_srcdir)/m4/dirname.m4 $(top_srcdir)/m4/dos.m4 \ - $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ - $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ - $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ - $(top_srcdir)/m4/euidaccess-stat.m4 \ + $(top_srcdir)/m4/dirent-safer.m4 $(top_srcdir)/m4/dirent_h.m4 \ + $(top_srcdir)/m4/dirfd.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \ + $(top_srcdir)/m4/environ.m4 $(top_srcdir)/m4/errno_h.m4 \ + $(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/euidaccess-stat.m4 \ $(top_srcdir)/m4/euidaccess.m4 $(top_srcdir)/m4/exclude.m4 \ $(top_srcdir)/m4/exitfail.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/exponentf.m4 $(top_srcdir)/m4/exponentl.m4 \ $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \ $(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-safer.m4 \ $(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fd-reopen.m4 \ - $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/file-type.m4 \ - $(top_srcdir)/m4/fileblocks.m4 $(top_srcdir)/m4/filemode.m4 \ - $(top_srcdir)/m4/filenamecat.m4 $(top_srcdir)/m4/flexmember.m4 \ - $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/fdopendir.m4 $(top_srcdir)/m4/fflush.m4 \ + $(top_srcdir)/m4/file-type.m4 $(top_srcdir)/m4/fileblocks.m4 \ + $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/filenamecat.m4 \ + $(top_srcdir)/m4/flexmember.m4 $(top_srcdir)/m4/float_h.m4 \ + $(top_srcdir)/m4/fnmatch.m4 $(top_srcdir)/m4/fopen.m4 \ $(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fprintftime.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/frexp.m4 \ @@ -133,37 +134,38 @@ $(top_srcdir)/m4/lib-check.m4 $(top_srcdir)/m4/lib-ignore.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/link-follow.m4 \ - $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ - $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \ - $(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/long-options.m4 \ - $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ls-mntd-fs.m4 \ - $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.m4 \ - $(top_srcdir)/m4/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ - $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/math_h.m4 \ - $(top_srcdir)/m4/mbchar.m4 $(top_srcdir)/m4/mbiter.m4 \ - $(top_srcdir)/m4/mbrlen.m4 $(top_srcdir)/m4/mbrtowc.m4 \ - $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbsrtowcs.m4 \ - $(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbswidth.m4 \ - $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memcasecmp.m4 \ - $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memcmp.m4 \ - $(top_srcdir)/m4/memcoll.m4 $(top_srcdir)/m4/memcpy.m4 \ - $(top_srcdir)/m4/memmove.m4 $(top_srcdir)/m4/mempcpy.m4 \ - $(top_srcdir)/m4/memrchr.m4 $(top_srcdir)/m4/memset.m4 \ - $(top_srcdir)/m4/memxfrm.m4 $(top_srcdir)/m4/mgetgroups.m4 \ - $(top_srcdir)/m4/mkancesdirs.m4 $(top_srcdir)/m4/mkdir-p.m4 \ - $(top_srcdir)/m4/mkdir-slash.m4 $(top_srcdir)/m4/mkstemp.m4 \ - $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/mmap-anon.m4 \ - $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/modechange.m4 \ - $(top_srcdir)/m4/mountlist.m4 $(top_srcdir)/m4/mpsort.m4 \ - $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/nanosleep.m4 \ - $(top_srcdir)/m4/netdb_h.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/nocrash.m4 \ - $(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/openat.m4 \ - $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perl.m4 \ - $(top_srcdir)/m4/perror.m4 $(top_srcdir)/m4/physmem.m4 \ - $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \ - $(top_srcdir)/m4/posixtm.m4 $(top_srcdir)/m4/posixver.m4 \ - $(top_srcdir)/m4/prereq.m4 $(top_srcdir)/m4/printf-frexp.m4 \ + $(top_srcdir)/m4/link.m4 $(top_srcdir)/m4/localcharset.m4 \ + $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ + $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ + $(top_srcdir)/m4/long-options.m4 $(top_srcdir)/m4/longlong.m4 \ + $(top_srcdir)/m4/ls-mntd-fs.m4 $(top_srcdir)/m4/lseek.m4 \ + $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/malloc.m4 \ + $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/math_h.m4 $(top_srcdir)/m4/mbchar.m4 \ + $(top_srcdir)/m4/mbiter.m4 $(top_srcdir)/m4/mbrlen.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ + $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ + $(top_srcdir)/m4/mbswidth.m4 $(top_srcdir)/m4/md5.m4 \ + $(top_srcdir)/m4/memcasecmp.m4 $(top_srcdir)/m4/memchr.m4 \ + $(top_srcdir)/m4/memcmp.m4 $(top_srcdir)/m4/memcoll.m4 \ + $(top_srcdir)/m4/memcpy.m4 $(top_srcdir)/m4/memmove.m4 \ + $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/memrchr.m4 \ + $(top_srcdir)/m4/memset.m4 $(top_srcdir)/m4/memxfrm.m4 \ + $(top_srcdir)/m4/mgetgroups.m4 $(top_srcdir)/m4/mkancesdirs.m4 \ + $(top_srcdir)/m4/mkdir-p.m4 $(top_srcdir)/m4/mkdir-slash.m4 \ + $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mktime.m4 \ + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ + $(top_srcdir)/m4/modechange.m4 $(top_srcdir)/m4/mountlist.m4 \ + $(top_srcdir)/m4/mpsort.m4 $(top_srcdir)/m4/multiarch.m4 \ + $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ + $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/open.m4 \ + $(top_srcdir)/m4/openat.m4 $(top_srcdir)/m4/pathmax.m4 \ + $(top_srcdir)/m4/perl.m4 $(top_srcdir)/m4/perror.m4 \ + $(top_srcdir)/m4/physmem.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/posixtm.m4 \ + $(top_srcdir)/m4/posixver.m4 $(top_srcdir)/m4/prereq.m4 \ + $(top_srcdir)/m4/printf-frexp.m4 \ $(top_srcdir)/m4/printf-frexpl.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \ @@ -352,6 +354,7 @@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ +GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ALPHASORT = @GNULIB_ALPHASORT@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ @@ -365,10 +368,15 @@ GNULIB_DIRFD = @GNULIB_DIRFD@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ +GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ +GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ +GNULIB_FDOPENDIR = @GNULIB_FDOPENDIR@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FLOORF = @GNULIB_FLOORF@ GNULIB_FLOORL = @GNULIB_FLOORL@ @@ -383,6 +391,7 @@ GNULIB_FREXPL = @GNULIB_FREXPL@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ +GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ @@ -446,12 +455,19 @@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ +GNULIB_MKNODAT = @GNULIB_MKNODAT@ +GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ +GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_PERROR = @GNULIB_PERROR@ +GNULIB_PIPE2 = @GNULIB_PIPE2@ +GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PUTC = @GNULIB_PUTC@ @@ -461,9 +477,11 @@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ +GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_ROUND = @GNULIB_ROUND@ GNULIB_ROUNDF = @GNULIB_ROUNDF@ GNULIB_ROUNDL = @GNULIB_ROUNDL@ @@ -503,11 +521,13 @@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ +GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_TRUNC = @GNULIB_TRUNC@ GNULIB_TRUNCF = @GNULIB_TRUNCF@ GNULIB_TRUNCL = @GNULIB_TRUNCL@ GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ +GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ @@ -524,6 +544,7 @@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WRITE = @GNULIB_WRITE@ GREP = @GREP@ +HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALPHASORT = @HAVE_ALPHASORT@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ @@ -574,8 +595,14 @@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ +HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ +HAVE_FACCESSAT = @HAVE_FACCESSAT@ +HAVE_FCHMODAT = @HAVE_FCHMODAT@ +HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ +HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FSEEKO = @HAVE_FSEEKO@ +HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ @@ -601,15 +628,22 @@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ +HAVE_MKNODAT = @HAVE_MKNODAT@ +HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ +HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ +HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ +HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ @@ -627,7 +661,6 @@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ -HAVE_STRNDUP = @HAVE_STRNDUP@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ @@ -639,6 +672,8 @@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ +HAVE_SYMLINK = @HAVE_SYMLINK@ +HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ @@ -650,6 +685,7 @@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNSETENV = @HAVE_UNSETENV@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ @@ -802,6 +838,7 @@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FCHDIR = @REPLACE_FCHDIR@ +REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FLOORF = @REPLACE_FLOORF@ @@ -814,6 +851,7 @@ REPLACE_FREXPL = @REPLACE_FREXPL@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ +REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_GETCWD = @REPLACE_GETCWD@ @@ -830,6 +868,7 @@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LDEXPL = @REPLACE_LDEXPL@ +REPLACE_LINK = @REPLACE_LINK@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ @@ -850,8 +889,10 @@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_PERROR = @REPLACE_PERROR@ +REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PUTENV = @REPLACE_PUTENV@ +REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_ROUND = @REPLACE_ROUND@ REPLACE_ROUNDF = @REPLACE_ROUNDF@ REPLACE_ROUNDL = @REPLACE_ROUNDL@ @@ -864,10 +905,12 @@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ +REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRPTIME = @REPLACE_STRPTIME@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ @@ -900,13 +943,13 @@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_SELECT_H = @SYS_SELECT_H@ SYS_SOCKET_H = @SYS_SOCKET_H@ -SYS_STAT_H = @SYS_STAT_H@ SYS_TIME_H = @SYS_TIME_H@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ U = @U@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_ACL = @USE_ACL@ @@ -1013,6 +1056,7 @@ .x-sc_prohibit_atoi_atof \ .x-sc_prohibit_stat_st_blocks \ .x-sc_prohibit_strcmp \ + .x-sc_prohibit_tab_based_indentation \ .x-sc_require_config_h \ .x-sc_require_config_h_first \ .x-sc_space_tab \ @@ -1534,18 +1578,18 @@ check-root: cd tests && $(MAKE) $@ SUBDIRS= .version: - echo $(VERSION) > $@-t && mv $@-t $@ + $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@ # Arrange so that .tarball-version appears only in the distribution # tarball, and never in a checked-out repository. # The perl substitution is to change some key uses of "rm" to "/bin/rm". # See the rm_subst comment for details. dist-hook: gen-ChangeLog - echo $(VERSION) > $(distdir)/.tarball-version - perl -pi -e '$(rm_subst)' $(distdir)/src/Makefile.in + $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version + $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/src/Makefile.in .PHONY: gen-ChangeLog gen-ChangeLog: - if test -d .git; then \ + $(AM_V_GEN)if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --since=$(gen_start_date) > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ @@ -1553,8 +1597,9 @@ fi distcheck-hook: check-ls-dircolors $(MAKE) my-distcheck + $(MAKE) taint-distcheck [... truncated: 65401 lines follow ...]