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

Re: Preliminary patch for symlink problem in setup.exe


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.


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