tar/tar-1.15.1-optionsOrder.patch

15 lines
359 B
Diff
Raw Normal View History

--- tar-1.15.1/src/tar.c.optionsOrder 2006-09-19 21:39:41.000000000 +0200
+++ tar-1.15.1/src/tar.c 2006-09-19 21:40:35.000000000 +0200
@@ -617,9 +617,9 @@
switch (key)
{
- case 1:
+ case ARGP_KEY_ARG:
/* File name or non-parsed option, because of ARGP_IN_ORDER */
- name_add (optarg);
+ name_add (arg);
args->input_files++;
break;