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: How does setup.exe handle duplicate files?


On Fri, Jun 09, 2000 at 12:19:42PM -0400, Jason Tishler wrote:
>Chris Faylor wrote:
>> On Fri, Jun 09, 2000 at 11:40:59AM -0400, DJ Delorie wrote:
>> >> Does setup.exe handle duplicate files correctly?  To be explicit, if
>> >> more than one tar.gz archive contain a file with the same name, does
>> >> setup.exe install the correct one?
>> >
>> >No, it just randomly picks one.  As of setup 1.48, though, it should
>> >install all files writable so that this problem is avoided.
>> 
>> Actually previous versions of setup install files as writable, also.
>
>Unfortunately, I'm still concerned that setup may not install the
>correct file because the extraction is dependent on the order in
>which tar.gz files are found.  From setup.c, we have:

As DJ has noted, setup does not do version checking.  It does try hard
to make sure that files are writable, though.

cgf

--
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]