Dec 302017
GNU patch, version 2.0 for OS/2.
File PATCH2U6.ZIP from The Programmer’s Corner in
Category OS/2 Files
GNU patch, version 2.0 for OS/2.
File Name File Size Zip Size Zip Type
BACKUPFI.C 8390 2885 deflated
BACKUPFI.H 971 481 deflated
BUG 2929 1180 deflated
CHANGELO 4818 2042 deflated
COMMON.H 4322 1661 deflated
CONFIGUR 34002 10408 deflated
EXTERN.H 319 180 deflated
INP.C 8627 2891 deflated
INP.H 490 301 deflated
INTERN.H 294 178 deflated
MAKEDIST 442 269 deflated
MAKEFILE.SH 2549 1179 deflated
MALLOC.C 12723 4358 deflated
MANIFEST 1447 532 deflated
PATCH.C 25481 7709 deflated
PATCH.MAN 16913 6196 deflated
PATCHLEV.H 27 27 stored
PC-FILES 0 0 stored
CONFIG.H 4341 1584 deflated
DIRENT.C 9719 2724 deflated
DIRENT.H 6810 2294 deflated
EMX.DLL 27218 14786 deflated
MAKEFILE 569 339 deflated
PATCH.DEF 84 84 stored
PATCH.EXE 61440 27569 deflated
PATCH.MAN 15382 5378 deflated
PATCHES.OS2 27883 6990 deflated
PCH.C 34743 8545 deflated
PCH.H 814 385 deflated
README 3883 1781 deflated
README.EMX 1690 867 deflated
UTIL.C 10758 3346 deflated
UTIL.H 2155 664 deflated
VERSION.C 563 323 deflated
VERSION.H 193 138 deflated

Download File PATCH2U6.ZIP Here

Contents of the README file

This version of patch contains modifications made by the Free Software
Foundation, summarized in the file ChangeLog. Primarily they are to
support the unified context diff format that GNU diff can produce, but
they also include some fixes for other bugs. The FSF is distributing
this version of patch itself because, as of this writing, Larry has
not released a new version of patch since mid-1988. I have heard that
he has been too busy working on other things, like Perl.

The FSF changes to patch are not covered by the GNU General Public
License; they are distributed on the same terms as the rest of patch
(actually, on somewhat less restrictive terms).

Please send bug reports for this version of patch to
[email protected] as well as to Larry Wall ([email protected]).
[email protected] (David MacKenzie)

Patch Kit, Version 2.0

Copyright (c) 1988, Larry Wall

You may copy the patch kit in whole or in part as long as you don't try to
make money off it, or pretend that you wrote it.

Please read all the directions below before you proceed any further, and
then follow them carefully. Failure to do so may void your warranty. 🙂

After you have unpacked your kit, you should have all the files listed


1) Run Configure. This will figure out various things about your system.
Some things Configure will figure out for itself, other things it will
ask you about. It will then proceed to make config.h,, and

You might possibly have to trim # comments from the front of Configure
if your sh doesn't handle them, but all other # comments will be taken
care of.

If you don't have sh, you'll have to rip the prototype of config.h out
of Configure and generate the defines by hand.

2) Glance through config.h to make sure system dependencies are correct.
Most of them should have been taken care of by running the Configure script.

If you have any additional changes to make to the C definitions, they
can be done in the Makefile, or in config.h. Bear in mind that they may
get undone next time you run Configure.

3) make

This will attempt to make patch in the current directory.

4) make install

This will put patch into a public directory (normally /usr/local/bin).
It will also try to put the man pages in a reasonable place. It will not
nroff the man page, however.

5) Read the manual entry before running patch.

6) IMPORTANT! Help save the world! Communicate any problems and
suggested patches to me, [email protected] (Larry Wall),
so we can keep the world in sync. If you have a problem, there's
someone else out there who either has had or will have the same problem.

If possible, send in patches such that the patch program will apply them.
Context diffs are the best, then normal diffs. Don't send ed scripts--
I've probably changed my copy since the version you have.

Watch for patch patches in net.sources.bugs. Patches will generally be
in a form usable by the patch program. If you are just now bringing up
patch and aren't sure how many patches there are, write to me and I'll
send any you don't have. Your current patch level is shown in patchlevel.h.


(Correct) support for 4.3bsd-style context diffs.
Files can be created from scratch.
You can specify a fuzz-factor for context matching.
You can force patch to ask no questions.
You can specify how much of the leading pathname to strip off filenames.
Uses a Configure script for greater portability.
You are now asked if you want to apply a reversed patch.
No limit (apart from memory) on the size of hunks.

 December 30, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>