2020-08-19 12:06:19 +02:00
|
|
|
Index: cpio-2.13/src/mt.c
|
2014-07-29 13:44:14 +02:00
|
|
|
===================================================================
|
2020-08-19 12:06:19 +02:00
|
|
|
--- cpio-2.13.orig/src/mt.c
|
|
|
|
+++ cpio-2.13/src/mt.c
|
|
|
|
@@ -208,7 +208,7 @@ parse_opt (int key, char *arg, struct ar
|
2014-07-29 13:44:14 +02:00
|
|
|
{
|
|
|
|
char *p;
|
|
|
|
long val = strtol (arg, &p, 0);
|
|
|
|
- if (*p || (count = val) != count)
|
|
|
|
+ if (*p || (count = val) != val)
|
|
|
|
error (MT_EXIT_INVOP, 0, _("invalid count value"));
|
|
|
|
}
|
|
|
|
break;
|