Wierd patch problem + simple fix

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


Diagnosis confirmed. I'll check on patch-2.5.3.
/e/temp $ tar cf - -C /usr/local/src bzip2-1.0.0 | tar xf -
/e/temp $ cd bzip2-1.0.0
/e/temp/bzip2-1.0.0 $ export TMP=E:\\TEMP
/e/temp/bzip2-1.0.0 $ patch -p1 < ../bzip2-1.0.0-1.patch 
patching file `Makefile'
patching file `bzlib.h'
patching file `libbz2.def'
Also, E:/TEMP, /e/TEMP/, /cygdrive/e/TEMP/ all work okay.
--Chuck
Corinna Vinschen wrote:
>> I'm completely unable to reproduce that problem...
>> ...as far as the $TMP directory is on the same drive
> as the patched file!
>> Terry Wilson gave the correct hint. Nothing has changed
> with patch itself. It tries to rename the temp file to
> the name of the file that should be patched and failes
> because the rename failes across drives.
>> AFAICS we are releasing patch 2.5 in latest. My Linux
> edition has a patch version 2.5.3. Maybe that is already
> fixed in that version.
>> Corinna
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /