From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8266 invoked by alias); 5 Jun 2002 19:29:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8257 invoked from network); 5 Jun 2002 19:29:58 -0000 Received: from unknown (HELO av.mvista.com) (12.44.186.158) by sources.redhat.com with SMTP; 5 Jun 2002 19:29:58 -0000 Received: from mvista.com (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id MAA20083 for ; Wed, 5 Jun 2002 12:27:49 -0700 Message-ID: <3CFE6697.C041242@mvista.com> Date: Wed, 05 Jun 2002 12:55:00 -0000 From: Michael Eager Organization: MontaVista Software, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Cygwin Mailing List Subject: DOS Special Names Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00236.txt.bz2 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? -- Michael Eager eager@mvista.com 408-328-8426 MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085 -- 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/