snapshot 20050114 race (on list)

Corinna Vinschen
Fri Jan 28 11:45:00 GMT 2005

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

More information about the Cygwin-developers mailing list