Blame SOURCES/cpio-2.9-exitCode.patch
|
|
0ce6cf |
From: Peter Vrabec <pvrabec@redhat.com>
|
|
|
0ce6cf |
Date: Mon, 14 Sep 2015 09:31:08 +0200
|
|
|
0ce6cf |
Subject: [PATCH 2/7] set exit code to 1 when cpio fails to store file > 4GB
|
|
|
0ce6cf |
(#183224)
|
|
|
0ce6cf |
|
|
|
0ce6cf |
diff --git a/src/copyout.c b/src/copyout.c
|
|
|
0ce6cf |
index 1f0987a..dcae449 100644
|
|
|
0ce6cf |
--- a/src/copyout.c
|
|
|
0ce6cf |
+++ b/src/copyout.c
|
|
|
0ce6cf |
@@ -287,7 +287,7 @@ to_ascii (char *where, uintmax_t v, size_t digits, unsigned logbase)
|
|
|
0ce6cf |
static void
|
|
|
0ce6cf |
field_width_error (const char *filename, const char *fieldname)
|
|
|
0ce6cf |
{
|
|
|
0ce6cf |
- error (0, 0, _("%s: field width not sufficient for storing %s"),
|
|
|
0ce6cf |
+ error (1, 0, _("%s: field width not sufficient for storing %s"),
|
|
|
0ce6cf |
filename, fieldname);
|
|
|
0ce6cf |
}
|
|
|
0ce6cf |
|