How does setup.exe handle duplicate files?

Chris Faylor
Fri Jun 9 09:38:00 GMT 2000

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.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list