On Monday 20 July 2009, Vikesh Bhoola wrote:
> Bob,
> ZIP was run this weekend against some large files, using the cmsmvs
> version ZIP module.
>    [snip]
> Now, I'm not sure if the apply of the patches in the diff file was
> correct as you mentioned this issue was resolved. Also I had made the
> changes manually (and using the patch command).
>
> Do you perhaps have the correct GNU patch command to apply the fix
> automatically?
> I've tried :
> patch -u -p1 < zip31-try04.diff
>
> and I get some rejects as a result.

    I applied the patch, on a Linux system, as follows:

1) Downloaded the latest version from the zip forum (diff_8942.zip) and 
extracted zip31-try04.zip into a temporary directory (/tmp, actually).
2) Copied a freshly unzipped zip31b directory into the temp dir under 
the name of orig.
3) Ran patch as follows:  

> my...@myhost:/tmp$ patch -d orig -p1 <zip31-try04.diff
> patching file CHANGES
> patching file README.zOS
> patching file cmsmvs/cmsmvs.c
> patching file cmsmvs/cmsmvs.h
> patching file cmsmvs/mvs.mki
> patching file fileio.c
> patching file tailor.h
> patching file unix/Makefile
> patching file unix/configure
> patching file unix/osdep.h
> patching file zip.c
> patching file zipfile.c
> my...@myhost:/tmp$

No prompts and no rejects.

    Then, of course, the whole source tree needs to be uploaded to the 
mainframe and rebuilt. 


Cheers,
Bob

-- 
Bob Woodside
Woodsway Consulting, Inc.
http://www.woodsway.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to