From owner-cvs-all Tue Aug 1 23:54:26 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0ACA737B705; Tue, 1 Aug 2000 23:54:23 -0700 (PDT) (envelope-from kbyanc@FreeBSD.org) Received: (from kbyanc@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA40228; Tue, 1 Aug 2000 23:54:23 -0700 (PDT) (envelope-from kbyanc@FreeBSD.org) Message-Id: <200008020654.XAA40228@freefall.freebsd.org> From: Kelly Yancey Date: Tue, 1 Aug 2000 23:54:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/patch patch.c pch.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG kbyanc 2000/08/01 23:54:22 PDT Modified files: gnu/usr.bin/patch patch.c pch.c Log: Fix patch such that skipping files does not count as a failure. Previously, using -S/--skip, -f/--force, or -t/--batch to skip a patch in a patchset still registers a failure which causes patch to return a non-zero exit code. This is particularly undesirable with regards to ports as there is no way to ignore the non-zero code. (Luckily, we don't currently have any ports that make use of any of these options.) The PR (yes, my own) is slightly incorrect: It states that -f does indeed properly skip patches. It does, but it still sets the failure flag causing patch to return non-zero. PR: 19638 Submitted by: kbyanc@posi.net Revision Changes Path 1.17 +1 -2 src/gnu/usr.bin/patch/patch.c 1.17 +2 -2 src/gnu/usr.bin/patch/pch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message