Wierd patch problem + simple fix

Charles S. Wilson cwilson@ece.gatech.edu
Sun May 21 10:42:00 GMT 2000


"Charles S. Wilson" wrote:
> 
> Diagnosis confirmed. I'll check on patch-2.5.3.
> 

ftp.gnu.org has 2.5.4, but it doesn't seem to fix this problem.
$ patch --version
patch 2.5.4
[....]
$ cd /usr/local/src/bzip2-1.0.0
$ export TMP=/tmp   # e.g. both are on my F: drive
$ patch -p1 < ../bzip2-1.0.0-1.patch 
patching file Makefile
patching file bzlib.h
patching file libbz2.def

$ export TMP=/e/TEMP
$ patch -p1 -R < ../bzip2-1.0.0-1.patch 
patching file Makefile
patch: **** Can't rename file /e/TEMP/po002588 to Makefile : File exists

Now, there are about 47K of diffs between cygwin's patch-src.tar.gz and
gnu's patch-2.5.tar.gz; I did not attempt to synchonize my version of
2.5.4 with cygwin's changes. My patch-2.5.4 is straight from gnu. (So, I
suspect 'TMP=E:\\TEMP' would fail, but for reasons unrelated to the bug
we're investigating here).

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list