This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: DOS Special Names
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: Michael Eager <eager at mvista dot com>, Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Wed, 05 Jun 2002 15:33:31 -0400
- Subject: Re: DOS Special Names
At 03:29 PM 6/5/2002, Michael Eager wrote:
>I've run into a problem creating a regular file with the name
>COM20000. I can create this file from Windows, either using
>fopen() or in a Command window, but not when using Cygwin.
>Windows does prevent creating files named COMx, where x is a
>single digit.
>
>The code in winsup/cygwin/path.cc checks to see if the file
>name is COM followed by any integer, not just a single digit.
>Is this intentional or an error?
>
>Shouldn't Cygwin check to see if there is an installed driver
>named COM (or AUX, etc.) rather than just assume that all COMxxxx
>are supposed to be devices?
I agree that it makes sense for Cygwin not to restrict more file names
than Windows does. Feel free to submit a patch for this, if you're so
inclined.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/