Module Name: src
Committed By: dholland
Date: Mon Dec 14 05:04:48 UTC 2009
Modified Files:
src/bin/pax: options.c
Log Message:
Don't use NOGLOB_MTCH for pax, only for tar. Fixes fix for PR 41167 and
closes PR 42301. Since the 41167 fix was pulled up to -5, this needs to
be too.
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/bin/pax/options.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/pax/options.c
diff -u src/bin/pax/options.c:1.105 src/bin/pax/options.c:1.106
--- src/bin/pax/options.c:1.105 Mon Jul 13 19:05:39 2009
+++ src/bin/pax/options.c Mon Dec 14 05:04:48 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: options.c,v 1.105 2009/07/13 19:05:39 roy Exp $ */
+/* $NetBSD: options.c,v 1.106 2009/12/14 05:04:48 dholland Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: options.c,v 1.105 2009/07/13 19:05:39 roy Exp $");
+__RCSID("$NetBSD: options.c,v 1.106 2009/12/14 05:04:48 dholland Exp $");
#endif
#endif /* not lint */
@@ -692,7 +692,7 @@
case LIST:
case EXTRACT:
for (; optind < argc; optind++)
- if (pat_add(argv[optind], NULL, NOGLOB_MTCH) < 0)
+ if (pat_add(argv[optind], NULL, 0) < 0)
pax_usage();
break;
case COPY: