freebsd-ports/archivers/gtar/files/patch-src_tar.c
Christian Weisgerber de2f97f40e Fix command line parsing.
Submitted by:	Jiri Pridal <jiri.pridal@jmk.izscr.cz>
Obtained from:	GNU CVS
2005-01-30 14:55:41 +00:00

17 lines
271 B
C

$FreeBSD$
--- src/tar.c.orig
+++ src/tar.c
@@ -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;