This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] Consider extensions for special names in managed mode
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 13 Aug 2003 16:26:08 +0200
- Subject: Re: [PATCH] Consider extensions for special names in managed mode
- References: <20030813083512.GG13155@linux_rln.harvest> <Pine.GSO.4.44.0308131014360.8046-200000@slinky.cs.nyu.edu>
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.