Browse Prior Art Database

Automatic Patch Instruction Maker Program for the OS/2 Patch Utility

IP.com Disclosure Number: IPCOM000102240D
Original Publication Date: 1990-Nov-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 1 page(s) / 45K

Publishing Venue

IBM

Related People

Disney, RC: AUTHOR [+2]

Abstract

A program is disclosed that takes two files as its input and compares them without human intervention to produce a patch which is a set of instructions that tells the OS/2* patch utility program, PATCH.EXE, how to convert the first file into the second. With this program, no special skills are required to produce a patch. Programmers are free to make corrections in the source code as they are accustomed in their regular development process. Special and scarce programming skills are no longer required to modify software programs so that patches can be produced to correct code. A librarian or junior programmer can execute this patch instruction maker program to produce the patch.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 69% of the total text.

Automatic Patch Instruction Maker Program for the OS/2 Patch Utility

       A program is disclosed that takes two files as its input
and compares them without human intervention to produce a patch which
is a set of instructions that tells the OS/2* patch utility program,
PATCH.EXE, how to convert the first file into the second.  With this
program, no special skills are required to produce a patch.
Programmers are free to make corrections in the source code as they
are accustomed in their regular development process.  Special and
scarce programming skills are no longer required to modify software
programs so that patches can be produced to correct code.  A
librarian or junior programmer can execute this patch instruction
maker program to produce the patch.

      The patch instruction maker program is source language
independent because it works only with the object files.  It compares
the object code of two files -- the first before the correction was
made and the second after to produce a third file containing the
instructions for the OS/2 patch utility.  The patch utility uses
these instructions to automatically modify the first file to match
the second. The files are compared byte for byte until a discrepancy
is discovered.  For the offset of the discrepancy, a patch
instruction is produced for a verification command using the
character string found in the first file.  Also for this offset, a
patch instruction is produced for a replacement command using t...