3
0
forked from pool/coreutils
coreutils/coreutils-gl_printf_safe.patch
Philipp Thomas 9d1d687974 - Update to 8.11:
* Bug fixes

    cp -a --link would not create a hardlink to a symlink, instead
    copying the symlink and then not preserving its timestamp.
    [bug introduced in coreutils-8.0]

    cp now avoids FIEMAP issues with BTRFS before Linux 2.6.38,
    which could result in corrupt copies of sparse files.
    [bug introduced in coreutils-8.10]

    cut could segfault when invoked with a user-specified output
    delimiter and an unbounded range like "-f1234567890-".
    [bug introduced in coreutils-5.3.0]

    du would infloop when given --files0-from=DIR
    [bug introduced in coreutils-7.1]

    sort no longer spawns 7 worker threads to sort 16 lines
    [bug introduced in coreutils-8.6]

    touch built on Solaris 9 would segfault when run on Solaris 10
    [bug introduced in coreutils-8.8]

    wc would dereference a NULL pointer upon an early out-of-memory error
    [bug introduced in coreutils-7.1]

    ** New features

    dd now accepts the 'nocache' flag to the iflag and oflag options,
    which will discard any cache associated with the files, or
    processed portion thereof.

    dd now warns that 'iflag=fullblock' should be used,
    in various cases where partial reads can cause issues.

    ** Changes in behavior

    cp now avoids syncing files when possible, when doing a FIEMAP copy.
    The sync is only needed on Linux kernels before 2.6.39.
    [The sync was introduced in coreutils-8.10]

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=109
2011-04-15 14:49:23 +00:00

25 lines
1008 B
Diff

Index: configure
===================================================================
--- configure.orig 2011-04-13 21:22:30.000000000 +0200
+++ configure 2011-04-14 14:39:11.027077753 +0200
@@ -3513,7 +3513,6 @@ as_fn_append ac_func_list " alarm"
as_fn_append ac_header_list " sys/statvfs.h"
as_fn_append ac_header_list " sys/select.h"
as_fn_append ac_func_list " nl_langinfo"
-gl_printf_safe=yes
as_fn_append ac_header_list " priv.h"
as_fn_append ac_header_list " pthread.h"
as_fn_append ac_header_list " utmp.h"
Index: m4/gnulib-comp.m4
===================================================================
--- m4/gnulib-comp.m4.orig 2011-04-09 09:51:23.000000000 +0200
+++ m4/gnulib-comp.m4 2011-04-14 14:38:04.363003296 +0200
@@ -1217,7 +1217,6 @@ AC_DEFUN([gl_INIT],
# Code from module printf-frexpl:
gl_FUNC_PRINTF_FREXPL
# Code from module printf-safe:
- m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
# Code from module priv-set:
gl_PRIV_SET
# Code from module progname: