This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Wierd patch problem + simple fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]