This is the mail archive of the cygwin-patches@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: [PATCH] Consider extensions for special names in managed mode


On Wed, Aug 13, 2003 at 10:19:08AM -0400, Igor Pechtchanski wrote:
> Yeah.  I promised a patch, didn't I?  *Sigh*.
> 	Igor
> ==============================================================================
> 2003-08-13  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
> 
> 	* path.cc (special_name): Add checks for some specials
> 	followed by a "." and a FIXME comment.

I leave this to Chris for obvious reasons.

> +  // FIXME: add com0 and {com,lpt}N.*
>    if (strcasematch (s, "nul")
> +      || strncasematch (s, "nul.", 4)
>        || strcasematch (s, "aux")
> +      || strncasematch (s, "aux.", 4)
>        || strcasematch (s, "prn")
> +      || strncasematch (s, "prn.", 4)
>        || strcasematch (s, "con")
> +      || strncasematch (s, "con.", 4)
>        || strcasematch (s, "conin$")
>        || strcasematch (s, "conout$"))
>      return -1;

Clueless question:  What about sth. like foo.aux?

Corinna

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