On Oct  5 07:15, Bas van Gompel wrote:
> Hi,
> 
> This little patch makes cygcheck warn about empty path-components
> (leading/trailing/double ':'/';' in $PATH).
> 
> 
> ChangeLog-entry:
> 
> 2004-10-05  Bas van Gompel  <[EMAIL PROTECTED]>
> 
>       * cygcheck.cc (dump_sysinfo): Warn about empty path-components.

This looks ok, but it doesn't make much sense when started from a
Cygwin shell.  The reason is that empty paths are converted to "."
or ".\" respectively when converting between posix and win32 paths.

Chris, I might be missing something but that looks like a bug in
conv_path_list to me.  Why is conv_fn called with "." for empty
strings instead of ignoring the empty path?

Is an empty path component a windowzism I don't know about?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to