NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/41457: patch(1) -p option dosen't allow to omit numeric argument.
>Number: 41457
>Category: bin
>Synopsis: patch(1) -p option dosen't allow to omit numeric argument.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 19 00:05:00 +0000 2009
>Originator: Takahiro Kambe
>Release: NetBSD 5.0_STABLE
>Organization:
>Environment:
System: NetBSD ns.back-street.net 5.0_STABLE NetBSD 5.0_STABLE (EPIA) #26: Sat
May 2 11:39:38 JST 2009
taca%boy.a.back-street.net@localhost:/data/i386/obj5/sys/arch/i386/compile/EPIA
i386
Architecture: i386
Machine: i386
>Description:
patch(1) -p option dosen't allow to omit numeric argument.
>How-To-Repeat:
On NetBSD 4, patch(1)'s allows -p option without numeric argument.
% uname -r
4.0_STABLE
% patch -v
Patch version 2.0, patch level 12u8
% patch -p < /etc/motd
Hmm... I can't seem to find a patch in there anywhere.
But NetBSD 5, it dosen't.
% uname -r
5.0_STABLE
% patch -v
Patch version 2.0-12u8-NetBSD
% patch -p < /etc/motd
patch: option requires an argument -- p
usage: patch [-bCcEeflNnRstuv] [-B backup-prefix] [-D symbol] [-d
directory]
[-F max-fuzz] [-i patchfile] [-o out-file] [-p strip-count]
[-r rej-name] [-V t | nil | never] [-x number] [-z
backup-ext]
[--posix] [origfile [patchfile]]
patch <patchfile
>Fix:
Unknown.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index