summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch
Commit message (Collapse)AuthorAgeFilesLines
* Restore vendor CVS keywords; eliminate troff(1) warnings.ru2001-07-121-1/+3
|
* MAN[1-9] -> MAN.ru2001-03-271-3/+5
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-2/+6
| | | | Use _PATH_* where where possible.
* Fix previous commit such that only -S/--skip ignores errors when applyingkbyanc2000-08-021-0/+7
| | | | | | a patch, returning -f/--force and -t/--batch to their previous semantics. Pointed out by: asami
* Fix patch such that skipping files does not count as a failure.kbyanc2000-08-022-2/+1
| | | | | | | | | | | | | | | 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
* Clean up some $Log$ debris, including some real messes.peter1999-09-0512-322/+0
|
* $Header$ -> $FreeBSD$peter1999-08-2812-12/+53
|
* Add PATCH_INDEX_FIRST environment variable to do the same as -I optionache1998-01-222-4/+17
|
* Update usage line with new optionache1998-01-211-2/+6
|
* Add -I or --index-first option to take Index: precedence over context diff,ache1998-01-213-5/+32
| | | | as it was in hacked FreeBSD version
* Resurrect patch 2.1 without FreeBSD Index: hackache1998-01-2121-125/+5871
|
* Upgrade to 2.5 (contrib version)ache1998-01-0421-5808/+125
|
* Back out Index over +++/--- precedence.ache1998-01-031-5/+10
| | | | | | | It maybe right, if patch was FreeBSD-own program, but it break compatibility with pre-existent patches in other systems. The example is big ncurses patch which don't apply on FreeBSD due to "fixed" precedence.
* Add (unsigned char) cast to ctype macrosache1997-10-234-38/+82
|
* fix compilation warnings in patch... (with slight modification)jmg1997-03-175-6/+34
| | | | | | | | also remove -Wall that I acidentally committed last time I was here... Submitted-by: Philippe Charnier Closes PR#2998
* Fix a problem with patch in that is will always default, even when thejmg1997-02-136-16/+37
| | | | | | | | | | | | | controlling terminal is closed. Now the function ask() will return 1 when th input is known to come from a file or terminal, or it will return 0 when ther was a read error. Modified the question "Skip patch?" so that on an error from ask it will skip the patch instead of looping. Closes PR#777 2.2 candidate
* Attempt to break a $Log$ snafu where a *** /--- (minus space)markm1996-04-121-1/+16
| | | | was fouling up a comment in the checked-out code.
* Priorities were broken. If there was an Index: line and ***/--- linesmarkm1996-04-111-4/+11
| | | | | | | | | | | | | | | with valid names, the ***/---names were taken first. this broke eg: Index: foo/Makefile ========== RCS <blah> Retrieving <blah> diff <blah> *** Makefile <blah> --- Makefile <blah> By trying to patch the Makefile in the _curent_ directory, rather than the one in the foo/ directory.
* Update the manual page to reflect the fact that an "Index" linejdp1996-02-071-2/+5
| | | | | now takes precedence over a context diff header for determining the name of the file to patch.
* Give "Index" specified filenames preference over other filenames specifiedgibbs1995-09-141-3/+6
| | | | | | | in the diff. This makes it so that diffs containing files in different subdirectories that have the same name not patch the same file. For example a diff with patches to Makefile, des/Makefile, usr.bin/Makefile would attempt to patch Makefile three times.
* Remove trailing whitespace.rgrimes1995-05-3015-97/+133
|
* Fix bug that created new files even when running in -C check mode.hsu1995-01-122-4/+16
| | | | Reviewed by: phk
* added the -C/-check again.phk1994-02-253-8/+35
|
* Put this back - I was somehow under the erroneous impression that patch was injkh1994-02-173-23/+20
| | | | ports, until I saw the the commit messages, that is! :-) All changed backed out.
* From Poul-Henning Kamp - Implement a -C option to verify the integrity ofjkh1994-02-173-11/+35
| | | | a patch before actually applying it.
* Increaed the fixed static buffer sizes and maximum hunk size thatrich1993-09-221-5/+8
| | | | otherwise causes the XFree86 1.3 patch set to fail.
* b-maked patch-2.10paul1993-06-1921-0/+5600
OpenPOWER on IntegriCloud