[PATCH] cygpath.cc

Corinna Vinschen cygwin-patches@cygwin.com
Tue May 21 07:59:00 GMT 2002


On Tue, May 21, 2002 at 09:02:00AM +0200, "Schaible, Jörg" wrote:
> Hi,
> 
> as already announced here is the next patch for cygpath.cc supporting -l
> option to convert file names to Windows long format. Unfortunately this
> works not for strict mode, since functions cygwin_conv_to_win32_path and
> cygwin_conv_to_full_win32_path will return an error for a Windows short
> path/name.

AFAICS, the patch is ok.

Just two question:

- The -s and -l options are only valid with the -w option.  Shouldn't
  either the usage reflect that or the -s and -l options imply -w
  automatically?  It's not *that* obvious for the user that s/he
  has to use `cygpath -w -l ...'.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list