head 1.2; access; symbols pkgsrc-2024Q1:1.2.0.66 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.64 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.62 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.60 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.58 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.56 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.54 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.52 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.50 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.48 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.46 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.44 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.42 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.40 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.38 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.34 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.14 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.36 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.32 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.30 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.28 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.26 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.24 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.22 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.20 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.18 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.16 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.12 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.10 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.8 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.14 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.12 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.10 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.8 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @ * @; 1.2 date 2016.01.31.09.20.51; author ryoon; state Exp; branches; next 1.1; commitid pRDtslvG4xxS54Ty; 1.1 date 2014.06.29.06.53.23; author obache; state Exp; branches; next ; commitid xXMt6slX6rhWWnGx; desc @@ 1.2 log @Update to 8.35 Changelog: * Noteworthy changes in release 8.25 (2016-01-20) [stable] ** Bug fixes cp now correctly copies files with a hole at the end of the file, and extents allocated beyond the apparent size of the file. That combination resulted in the trailing hole not being reproduced. [bug introduced in coreutils-8.10] cut --fields no longer outputs extraneous characters on some uClibc configs. [bug introduced in coreutils-6.11] install -D again copies relative file names when absolute file names are also specified along with an absolute destination directory name. [bug introduced in coreutils-6.2] ls no longer prematurely wraps lines when printing short file names. [bug introduced in coreutils-5.1.0] mv no longer causes data loss due to removing a source directory specified multiple times, when that directory is also specified as the destination. [bug introduced in coreutils-8.24] shred again uses defined patterns for all iteration counts. [bug introduced in coreutils-5.93] sort --debug -b now correctly marks the matching extents for keys that specify an offset for the first field. [bug introduced with the --debug feature in coreutils-8.6] tail -F now works with initially non existent files on a remote file system. [bug introduced in coreutils-7.5] ** New commands base32 is added to complement the existing base64 command, and encodes and decodes printable text as per RFC 4648. ** New features comm,cut,head,numfmt,paste,tail now have the -z,--zero-terminated option, and tac --separator accepts an empty argument, to work with NUL delimited items. dd now summarizes sizes in --human-readable format too, not just --si. E.g., "3441325000 bytes (3.4 GB, 3.2 GiB) copied". It omits the summaries if they would not provide useful information, e.g., "3 bytes copied". Its status=progress output now uses the same format as ordinary status, perhaps with trailing spaces to erase previous progress output. md5sum now supports the --ignore-missing option to allow verifying a subset of files given a larger list of checksums. This also affects sha1sum, sha224sum, sha256sum, sha384sum and sha512sum. printf now supports the '%q' format to print arguments in a form that is reusable by most shells, with non-printable characters escaped with the POSIX proposed $'...' syntax. stty now supports the "[-]drain" setting to control whether to wait for transmission of pending output before application of settings. ** Changes in behavior base64 no longer supports hex or oct --wrap parameters, thus better supporting decimals with leading zeros. date --iso-8601 now uses +00:00 timezone format rather than +0000. The standard states to use this "extended" format throughout a timestamp. df now prefers sources towards the root of a device when eliding duplicate bind mounted entries. ls now quotes file names unambiguously and appropriate for use in a shell, when outputting to a terminal. join, sort, uniq with --zero-terminated, now treat '\n' as a field delimiter. ** Improvements All utilities now quote user supplied arguments in error strings, which avoids confusing error messages in the presence of '\r' chars etc. Utilities that traverse directories, like chmod, cp, and rm etc., will operate more efficiently on XFS through the use of "leaf optimization". md5sum now ensures a single line per file for status on standard output, by using a '\' at the start of the line, and replacing any newlines with '\n'. This also affects sha1sum, sha224sum, sha256sum, sha384sum and sha512sum. dircolors now supports globbing of TERM entries in its database. For example "TERM *256color*" is now supported. du no longer stats all mount points at startup, only doing so upon detection of a directory cycle. [issue introduced in coreutils-8.20] ls -w0 is now interpreted as no limit on the length of the outputted line. stat -f --format=%T now reports the file system type for new Linux pseudo file systems "bpf_fs", "btrfs_test", "nsfs", "overlayfs" and "tracefs", and remote file system "acfs". wc now ensures a single line per file for counts on standard output, by quoting names containing '\n' characters; appropriate for use in a shell. * Noteworthy changes in release 8.24 (2015-07-03) [stable] ** Bug fixes dd supports more robust SIGINFO/SIGUSR1 handling for outputting statistics. Previously those signals may have inadvertently terminated the process. df --local no longer hangs with inaccessible remote mounts. [bug introduced in coreutils-8.21] du now silently ignores all directory cycles due to bind mounts. Previously it would issue a warning and exit with a failure status. [bug introduced in coreutils-8.1 and partially fixed in coreutils-8.23] chroot again calls chroot(DIR) and chdir("/"), even if DIR is "/". This handles separate bind mounted "/" trees, and environments depending on the implicit chdir("/"). [bugs introduced in coreutils-8.23] cp no longer issues an incorrect warning about directory hardlinks when a source directory is specified multiple times. Now, consistent with other file types, a warning is issued for source directories with duplicate names, or with -H the directory is copied again using the symlink name. factor avoids writing partial lines, thus supporting parallel operation. [the bug dates back to the initial implementation] head, od, split, tac, tail, and wc no longer mishandle input from files in /proc and /sys file systems that report somewhat-incorrect file sizes. mkdir --parents -Z now correctly sets the context for the last component, even if the parent directory exists and has a different default context. [bug introduced with the -Z restorecon functionality in coreutils-8.22] numfmt no longer outputs incorrect overflowed values seen with certain large numbers, or with numbers with increased precision. [bug introduced when numfmt was added in coreutils-8.21] numfmt now handles leading zeros correctly, not counting them when settings processing limits, and making them optional with floating point. [bug introduced when numfmt was added in coreutils-8.21] paste no longer truncates output for large input files. This would happen for example with files larger than 4GiB on 32 bit systems with a '\n' character at the 4GiB position. [the bug dates back to the initial implementation] rm indicates the correct number of arguments in its confirmation prompt, on all platforms. [bug introduced in coreutils-8.22] shuf -i with a single redundant operand, would crash instead of issuing a diagnostic. [bug introduced in coreutils-8.22] tail releases inotify resources when unused. Previously it could exhaust resources with many files, or with -F if files were replaced many times. [bug introduced in coreutils-7.5] tail -f again follows changes to a file after it's renamed. [bug introduced in coreutils-7.5] tail --follow no longer misses changes to files if those files were replaced before inotify watches were created. [bug introduced in coreutils-7.5] tail --follow consistently outputs all data for a truncated file. [bug introduced in the beginning] tail --follow=name correctly outputs headers for multiple files when those files are being created or renamed. [bug introduced in coreutils-7.5] ** New features chroot accepts the new --skip-chdir option to not change the working directory to "/" after changing into the chroot(2) jail, thus retaining the current wor- king directory. The new option is only permitted if the new root directory is the old "/", and therefore is useful with the --group and --userspec options. dd accepts a new status=progress level to print data transfer statistics on stderr approximately every second. numfmt can now process multiple fields with field range specifications similar to cut, and supports setting the output precision with the --format option. split accepts a new --separator option to select a record separator character other than the default newline character. stty allows setting the "extproc" option where supported, which is a useful setting with high latency links. sync no longer ignores arguments, and syncs each specified file, or with the --file-system option, the file systems associated with each specified file. tee accepts a new --output-error option to control operation with pipes and output errors in general. ** Changes in behavior df no longer suppresses separate exports of the same remote device, as these are generally explicitly mounted. The --total option does still suppress duplicate remote file systems. [suppression was introduced in coreutils-8.21] mv no longer supports moving a file to a hardlink, instead issuing an error. The implementation was susceptible to races in the presence of multiple mv instances, which could result in both hardlinks being deleted. Also on case insensitive file systems like HFS, mv would just remove a hardlinked 'file' if called like `mv file File`. The feature was added in coreutils-5.0.1. numfmt --from-unit and --to-unit options now interpret suffixes as SI units, and IEC (power of 2) units are now specified by appending 'i'. tee will exit early if there are no more writable outputs. tee does not treat the file operand '-' as meaning standard output any longer, for better conformance to POSIX. This feature was added in coreutils-5.3.0. timeout --foreground no longer sends SIGCONT to the monitored process, which was seen to cause intermittent issues with GDB for example. ** Improvements cp,install,mv will convert smaller runs of NULs in the input to holes, and cp --sparse=always avoids speculative preallocation on XFS for example. cp will read sparse files more efficiently when the destination is a non regular file. For example when copying a disk image to a device node. mv will try a reflink before falling back to a standard copy, which is more efficient when moving files across BTRFS subvolume boundaries. stat and tail now know about IBRIX. stat -f --format=%T now reports the file system type, and tail -f uses polling for files on IBRIX file systems. wc -l processes short lines much more efficiently. References from --help and the man pages of utilities have been corrected in various cases, and more direct links to the corresponding online documentation are provided. @ text @$NetBSD: patch-lib_string.in.h,v 1.1 2014/06/29 06:53:23 obache Exp $ * fixes for nested include of string.h. --- lib/string.in.h.orig 2016-01-01 14:17:01.000000000 +0000 +++ lib/string.in.h @@@@ -32,12 +32,18 @@@@ #else /* Normal invocation convention. */ +#ifdef GL_ALREADY_INCLUDE_STRING_H +#@@INCLUDE_NEXT@@ @@NEXT_STRING_H@@ +#else + #ifndef _@@GUARD_PREFIX@@_STRING_H #define _GL_ALREADY_INCLUDING_STRING_H +#define GL_ALREADY_INCLUDE_STRING_H /* The include_next requires a split double-inclusion guard. */ #@@INCLUDE_NEXT@@ @@NEXT_STRING_H@@ +#undef GL_ALREADY_INCLUDE_STRING_H #undef _GL_ALREADY_INCLUDING_STRING_H @@@@ -1044,3 +1050,4 @@@@ _GL_WARN_ON_USE (strverscmp, "strverscmp #endif /* _@@GUARD_PREFIX@@_STRING_H */ #endif /* _@@GUARD_PREFIX@@_STRING_H */ #endif +#endif @ 1.1 log @Add an patch for nested include of string.h. Fixes build failure on NetBSD-6. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/string.in.h.orig 2013-12-04 15:02:02.000000000 +0000 d7 3 a9 3 @@@@ -15,6 +15,10 @@@@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ d17 1 a17 4 #if __GNUC__ >= 3 @@@@ -22,8 +26,10 @@@@ #endif @@PRAGMA_COLUMNS@@ d24 1 a24 3 #ifndef _@@GUARD_PREFIX@@_STRING_H #define _@@GUARD_PREFIX@@_STRING_H @@@@ -1027,3 +1033,4 @@@@ _GL_WARN_ON_USE (strverscmp, "strverscmp d26 1 d29 1 @