Module Name:    src
Committed By:   snj
Date:           Sat Jan 30 19:17:17 UTC 2010

Modified Files:
        src/bin/pax [netbsd-5]: options.c

Log Message:
Pull up following revision(s) (requested by dholland in ticket #1272):
        bin/pax/options.c: revision 1.106
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.101.12.3 -r1.101.12.4 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.101.12.3 src/bin/pax/options.c:1.101.12.4
--- src/bin/pax/options.c:1.101.12.3	Fri Aug 14 20:32:21 2009
+++ src/bin/pax/options.c	Sat Jan 30 19:17:17 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: options.c,v 1.101.12.3 2009/08/14 20:32:21 snj Exp $	*/
+/*	$NetBSD: options.c,v 1.101.12.4 2010/01/30 19:17:17 snj 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.101.12.3 2009/08/14 20:32:21 snj Exp $");
+__RCSID("$NetBSD: options.c,v 1.101.12.4 2010/01/30 19:17:17 snj 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:

Reply via email to