Preliminary patch for symlink problem in setup.exe

Corinna Vinschen vinschen@redhat.com
Tue Jan 15 10:41:00 GMT 2002


On Mon, Jan 14, 2002 at 10:16:50PM +0100, Corinna Vinschen wrote:
> I've found a problem in setup.exe which potentially results in
> two symlinks with the same name.

I've checked in a slightly different patch which checks for the
filename itself as well as for the same filename with trailing
.lnk.  This removes all sorts of symlinks, hopefully.

Another patch to io_stream::gets() always eliminates end-of-line,
LF as well as CRLF.  This was necessary since the filenames had
trailing LF's so the packagemeta::uninstall() function didn't
uninstall anything.

And a question:  Wouldn't it make sense to uninstall first on
"Reinstall", too?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-apps mailing list