Re: Source maintenance was Re: SEQUENCE NUMBERS
- From: gilmap@xxxxxxxxxxxx
- Date: 31 Jul 2006 08:30:15 -0700
In a recent note, Art Celestini said:
Date: Mon, 31 Jul 2006 10:52:03 -0400You needn't search so far afield. Both are part of the base z/OS,
From what I am familiar with from the Linux world, the method does not
appear to be 100% bulletproof. Essentially, the "diff" program (e.g.
http://www.die.net/doc/linux/man/man1/diff.1.html) is used to create
a "patch" file by comparing the old and new source. Then the "patch"
program (e.g. http://www.die.net/doc/linux/man/man1/patch.1.html) can
be used to apply the changes to another copy of the old source.
likely since MVS 5.2.2. But the GNU/Linux flavors have extensions
which I value, and which the open source community regularly
exploits.
The person who runs the "diff" program must ensure that the "context"And neither method protects against overlapping patches by different
parameter specifies enough lines to ensure there are no ambiguities.
Problem is, there is no guarantee that ambiguities won't still exist
in different versions of the old source. I've seen claims that a
particular patch will apply to multiple versions of a target program,
but usually, the patch is documented as being applicable only to a
specific version.
developers. In fact, if two different developers insert similar
new code but the sequence numbers by happenstance are different
(perhaps differentiated by ISPF's use of 79-80 as a vesion
indicator), won't IEBUPDTE cheerfully interleave the patches with
nary a warning? patch-diff's verification of context will likely
result in at least a warning.
-- gil
--
StorageTek
INFORMATION made POWERFUL
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Prev by Date: Re: S99RBXLN "Head's Up"
- Next by Date: RE: Java Packed Decimal
- Previous by thread: Re: HSM PDA Datasets
- Next by thread: Re: Source maintenance was Re: SEQUENCE NUMBERS
- Index(es):
Relevant Pages
|