This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Problems with patch


Il 6/27/2013 1:17 PM, Earnie Boyd ha scritto:
On Thu, Jun 27, 2013 at 7:13 AM, marco atzeri wrote:
Il 6/27/2013 12:49 PM, Alexey Pavlov ha scritto:

Prereq:
Having two files with the same name in directory. One file without
extension, second with ".exe". For example: "configure" and
"configure.exe".
I want patch "configure".
During patch Cygwin delete "configure.exe" and I have only "configure".

Regards,
Alexey.


Alexey,
do not use two files in the same directory with and
without ".exe" extension


Regardless, Cygwin should not go deleting the .exe when the basename
file exists.  A work-around may be to append a '.' character to the
end of the file name.  I've used this method in the past but have not
tested it with recent Cygwin's.


The workaround is "do not do it".
For cygwin "configure.exe" is also "configure", trying to outsmart this
fact is prone to failure.

Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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