This is the mail archive of the cygwin-developers 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: 1.7.2?


On Tue, Mar 02, 2010 at 11:53:00AM -0700, Eric Blake wrote:
>According to Christopher Faylor on 3/2/2010 11:45 AM:
>>> Yes, the script David sent in the latest mail in the thread.  But how
>>> do you differe between a situation in which a file foo is renamed to
>>> bar and the user does not want to add the .exe suffix (svn), and the
>>> situation in which foo is renamed to bar and the .exe suffix should be
>>> added (strip)?  I'm at a loss.
>> 
>> Ah, thanks.  I see the script now.  But it just demonstrates Cygwin
>> working as planned.
>
>Isn't the idea that:
>
>rename("foo", "bar")
>
>should create "bar.exe" only if "foo" really resolved to "foo.exe" to
>begin with?  In other words, what is the use case where someone wants
>"foo" to become "bar.exe", but "foo.exe" did not exist, and they called
>rename("foo","bar") instead of rename("foo","bar.exe")?

I thought the idea is that bar becomes bar.exe if we know that foo is
really a PE-COFF binary.

cgf


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