This is the mail archive of the cygwin-developers@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: snapshot 20050114 race (on list)


On Jan 28 06:35, Earnie Boyd wrote:
> <quote who="Corinna Vinschen">
> > On Jan 27 22:29, Pierre A. Humblet wrote:
> >> Also, is there always a C: drive? One could use "\\" instead of "C:\\"
> >> and
> >> let Windows decide, but this may magnify the access right issue.
> >
> > AFAIK, there is always a C: drive.  I guess, if you really want to be
> 
> Always is a condition best to never assume.  It is possible to not have a
> C: drive, just not likely to not have one.
> 
> > sure, changing into $SYSTEMDRIVE might be a good idea.
> 
> Yes, there must always be a SYSTEMDRIVE as well as a SYSTEMROOT.

On second thought, it's perhaps better to use GetSystemDirectory().
You can't rely on env. variables always set correctly.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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]