NetBSD Problem Report #42301

From nakayosh@leto.eonet.ne.jp  Tue Nov 10 13:47:23 2009
Return-Path: <nakayosh@leto.eonet.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id B0E1863B906
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Nov 2009 13:47:23 +0000 (UTC)
Message-Id: <20091110124636.EDD861AF2B4@ae0000-mailauth14.eo.k-opti.ad.jp>
Date: Tue, 10 Nov 2009 21:46:36 +0900 (JST)
From: nakayosh@leto.eonet.ne.jp
Reply-To: nakayosh@leto.eonet.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: pax doesn't accept fnmatch()'s pattern.
X-Send-Pr-Version: 3.95

>Number:         42301
>Category:       bin
>Synopsis:       pax doesn't accept fnmatch()'s pattern.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 10 13:50:00 +0000 2009
>Closed-Date:    Sat Jan 30 19:18:37 +0000 2010
>Last-Modified:  Sat Jan 30 19:20:18 +0000 2010
>Originator:     NAKAJIMA Yoshihiro
>Release:        NetBSD-current/20091106
>Organization:
>Environment:
System: NetBSD vajra 5.99.21 NetBSD 5.99.21 (VAJRA) #17: Tue Nov 10 01:07:05 JST 2009 nakayosh@vajra:/usr/src/sys/arch/i386/compile/VAJRA i386
Architecture: i386
Machine: i386
>Description:

pax(1) doesn't accept fnmatch(3)'s pattern.

I guess it was introduced by
http://mail-index.NetBSD.org/source-changes/2009/04/07/msg219323.html

>How-To-Repeat:

pax in 4.0.1 works properly:

> % netbsd-4.0.1/pax -zf etc.tgz '*/rc.conf'
> ./etc/defaults/rc.conf
> ./etc/rc.conf

but newer one doesn't:

> % netbsd-5.0.1/pax -zf etc.tgz '*/rc.conf'
> pax: WARNING! These patterns were not matched:
> */rc.conf

>Fix:

none

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42301 CVS commit: src/bin/pax
Date: Mon, 14 Dec 2009 05:04:48 +0000

 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.

State-Changed-From-To: open->pending-pullups
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 24 Jan 2010 19:07:18 +0000
State-Changed-Why:
pullup-5 #1272


State-Changed-From-To: pending-pullups->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Sat, 30 Jan 2010 19:18:37 +0000
State-Changed-Why:
Pulled up.


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42301 CVS commit: [netbsd-5] src/bin/pax
Date: Sat, 30 Jan 2010 19:17:17 +0000

 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.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.