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: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Corinna Vinschen <cygwin-patches at cygwin dot com>
- Date: Wed, 13 Aug 2003 10:44:00 -0400 (EDT)
- Subject: Re: [PATCH] Consider extensions for special names in managed mode
- Reply-to: cygwin-patches at cygwin dot com
On Wed, 13 Aug 2003, Corinna Vinschen wrote:
> 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
<http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN745>.
"touch foo.aux" works perfectly well even on normal mounts.
I think <http://cygwin.com/faq/faq_4.html#SEC59> is wrong, though.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton