freebsd-dev/gnu/usr.bin/patch
Kelly Yancey d1b04ce6b7 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
2000-08-02 06:54:21 +00:00
..
backupfile.c Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
backupfile.h Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
common.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
config.h Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
EXTERN.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
getopt1.c Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
getopt.c Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
getopt.h Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
inp.c Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
inp.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
INTERN.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
Makefile Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
patch.1 Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
patch.c Fix patch such that skipping files does not count as a failure. 2000-08-02 06:54:21 +00:00
patchlevel.h Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
pch.c Fix patch such that skipping files does not count as a failure. 2000-08-02 06:54:21 +00:00
pch.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
util.c Resurrect patch 2.1 without FreeBSD Index: hack 1998-01-21 14:37:27 +00:00
util.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
version.c Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00
version.h Clean up some $Log$ debris, including some real messes. 1999-09-05 17:31:55 +00:00