Subject: Re: df --local
From: Shankar Unni <[email-masked]>
To: [email-masked]
Date: Thu, 19 Sep 2002 15:36:31 -0700

Igor Pechtchanski wrote:
> -# ifdef __CYGWIN__
> -# define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') == 0)
> -# else
>  # define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') != 0)
> -# endif

You're sure it's not possible to end up with a local path without a ":" 
(e.g. just \windows\system32, etc.) in the mount table? I'm not sure 
what this would mean, but as long as it's not possible to get such an 
entry in using the usual API, this check should be OK.
--
Shankar.

--
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/