delorie.com/archives/browse.cgi | search |
----- Original Message ----- From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> To: "Michael A Chase" <mchase AT ix DOT netcom DOT com>; "Andrew DeFaria" <Andrew AT DeFaria DOT com>; "cygwin" <cygwin AT cygwin DOT com> Sent: Wednesday, March 06, 2002 19:09 Subject: Re: Suggestion for setup > ----- Original Message ----- > From: "Michael A Chase" <mchase AT ix DOT netcom DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |