Subject: bin/26513: cpio(1)'s option handling is broken
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 08/02/2004 15:21:08
>Number: 26513
>Category: bin
>Synopsis: cpio(1)'s option handling is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 02 13:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 2.0_BETA
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 2.0_BETA NetBSD 2.0_BETA (COLWYN) #0: Mon Jul 26 12:22:36 CEST 2004 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
If one uses NetBSD's "cpio" with "cpio -i -t" to list the contents of a
cpio archive it will extract the archive instead. This is inconsistent
with what Solaris' and GNU's "cpio" do. Using "cpio -t" avoids the problem
under NetBSD but doesn't work under Solaris. This is a functional
regression compared to NetBSD 1.6 which should be fixed.
>How-To-Repeat:
Use "cpio -i -t".
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: