This is the mail archive of the cygwin@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: Suggestion for setup


----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Michael A Chase" <mchase@ix.netcom.com>; "Andrew DeFaria"
<Andrew@DeFaria.com>; "cygwin" <cygwin@cygwin.com>
Sent: Wednesday, March 06, 2002 19:09
Subject: Re: Suggestion for setup


> ----- Original Message -----
> From: "Michael A Chase" <mchase@ix.netcom.com>
>
> >    It wouldn't be very hard to add /etc/passwd.lnk and /etc/group.lnk
> to the
> > test in desktop.cc.  Would you accept it?  I'm a bit hesitant because
> there
> > are lots of other files and directories that might also be affected.
>
> For setup200202 - the next release - I'll include such a test. Don't
> bother creating a patch.
>
> For HEAD, IMO the cygfile io_stream class should be symlink aware, and
> the /etc/passwd check should be using that class. That will sovle the
> problem there... and prevent new occurences.

There are quite a few places using _access() directly that should probably
be using io_stream::exists().  As soon as the new setup.exe is released, I
can go hunting for them and submit a patch.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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