/[pkgs]/devel/coreutils/coreutils-silentmv.patch
ViewVC logotype

Contents of /devel/coreutils/coreutils-silentmv.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Fri Apr 17 13:27:36 2009 UTC (7 months ago) by ovasik
Branch: MAIN
CVS Tags: F-12-split, coreutils-7_5-5_fc12, coreutils-7_6-5_fc12, coreutils-7_2-2_fc12, coreutils-7_6-1_fc12, coreutils-7_2-3_fc12, coreutils-7_4-2_fc12, coreutils-7_6-3_fc12, coreutils-7_6-7_fc13, coreutils-7_4-3_fc12, coreutils-7_4-1_fc12, coreutils-7_4-5_fc12, coreutils-8_0-2_fc13, coreutils-7_5-6_fc12, coreutils-7_4-6_fc12, coreutils-7_5-4_fc12, coreutils-7_6-6_fc13, coreutils-7_6-6_fc12, coreutils-7_6-2_fc12, coreutils-7_5-3_fc12, coreutils-7_5-2_fc12, coreutils-7_5-1_fc12, coreutils-8_0-1_fc13, coreutils-7_6-4_fc12, coreutils-7_4-4_fc12, HEAD
Changes since 1.1: +21 -12 lines
File MIME type: text/x-patch
suppress mv diagnostics only for ENOTSUP and ENODATA, do not run test-memchr gnulib test (koji failure)
1 diff -urNp coreutils-7.2-orig/src/copy.c coreutils-7.2/src/copy.c
2 --- coreutils-7.2-orig/src/copy.c 2009-04-17 15:21:26.000000000 +0200
3 +++ coreutils-7.2/src/copy.c 2009-04-17 15:24:17.000000000 +0200
4 @@ -139,10 +139,13 @@ copy_attr_error (struct error_context *c
5 int err = errno;
6 va_list ap;
7
8 - /* use verror module to print error message */
9 - va_start (ap, fmt);
10 - verror (0, err, fmt, ap);
11 - va_end (ap);
12 + if (errno != ENOTSUP && errno != ENODATA)
13 + {
14 + /* use verror module to print error message */
15 + va_start (ap, fmt);
16 + verror (0, err, fmt, ap);
17 + va_end (ap);
18 + }
19 }
20
21 static char const *

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2