NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/42160: patch incorrectly thinks a patch is reversed
>Number: 42160
>Category: bin
>Synopsis: patch incorrectly thinks a patch is reversed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 07 00:30:00 +0000 2009
>Originator: David A. Holland
>Release: NetBSD 5.99.15 (20090831)
>Organization:
>Environment:
System: NetBSD tanaqui 5.99.15 NetBSD 5.99.15 (TANAQUI) #29: Thu Sep 3 18:23:41
EDT 2009 dholland@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
Architecture: i386
Machine: i386
/usr/bin/patch:
$NetBSD: crt0.c,v 1.17 2007/12/01 10:16:06 yamt Exp $
$NetBSD: patch.c,v 1.27 2008/09/19 18:33:34 joerg Exp $
$NetBSD: pch.c,v 1.23 2008/09/19 18:33:34 joerg Exp $
$NetBSD: inp.c,v 1.22 2009/06/05 19:55:43 joerg Exp $
$NetBSD: util.c,v 1.24 2008/09/19 18:33:34 joerg Exp $
$NetBSD: backupfile.c,v 1.14 2008/09/19 18:33:34 joerg Exp $
$NetBSD: mkpath.c,v 1.1 2008/09/19 18:33:34 joerg Exp $
>Description:
Applying the enclosed patch to the enclosed partial source file causes
"Reversed (or previously applied) patch detected! Assume -R? [y]"
which is nonsense.
(If you allow it to assume the patch is reversed, it adds in another
copy of the lines in question.)
>How-To-Repeat:
tar -xvzf patchbug.tgz && cd patchbug
patch -p3 < patch
begin 644 patchbug.tgz
M'XL(`$[?RTH``^U6VV[C-A#-Z^HKI@]%Y<2RJ:LW:8$F[6Y1%"T0I'DK6D.7
M4428)K4B%<=%/KZD9#OQ;NP$"SA;8'E>*/)PAJ,9\I!UJO(J:V^.#@A"(C(A
M1+>3)(D#W798M]VW[P=),(DG,8GUN!\$<7@4'S*H-5JIT@;@J*@$8RDO=LU;
M5(CL-0)Z7=2K^H^O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