Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/pax Don't use NOGLOB_MTCH for pax, only for tar. Fixes f...
details: https://anonhg.NetBSD.org/src/rev/4051fdd779b9
branches: trunk
changeset: 750017:4051fdd779b9
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Dec 14 05:04:48 2009 +0000
description:
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.
diffstat:
bin/pax/options.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8ba049144a0d -r 4051fdd779b9 bin/pax/options.c
--- a/bin/pax/options.c Mon Dec 14 04:43:59 2009 +0000
+++ b/bin/pax/options.c Mon Dec 14 05:04:48 2009 +0000
@@ -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:
Home |
Main Index |
Thread Index |
Old Index