delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/12/17:02:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BF04338.286B4CB0@hack.kampbjorn.com>
Date: Mon, 12 Nov 2001 22:46:32 +0100
From: Hack =?iso-8859-1?Q?Kampbj=F8rn?= <cygwin AT hack DOT kampbjorn DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: Roland Glenn McIntosh <roland AT steeltorch DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: aux.c special name?
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011112152302 DOT 068ffc18 AT lnxmain>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fACM25C01398

Roland Glenn McIntosh wrote:
> 
> I can't seem to edit any files named "aux.c" .  Why is this happening to me?
> Steps to reproduce:
> 
> echo "weidness" > aux.c
> vi aux.c   --> "aux.c is not a file"

And it's not it's a device !

Yet Another of those wonderful Windows features 8-)

On windows, you cannot name a file <dosdevice>.extension. AUX is STDERR,
a console DOS device name.

Others are CON, COM1, COM2, COM3, PRN, LPT1, LPT2, LPT3, ...

> 
> similar results with other editors / operations.
> the "file" command reports it as character special device?
> This is weird and poses difficulty porting packages that have an aux.c file.
> 
> -Roland
> 
> ----------------------
>    Cygwin DLL version info:
>        dll major: 1003
>        dll minor: 3
>        dll epoch: 19
>        dll bad signal mask: 19005
>        dll old termios: 5
>        dll malloc env: 28
>        api major: 0
>        api minor: 46
>        shared data: 3
>        dll identifier: cygwin1
>        mount registry: 2
>        cygnus registry name: Cygnus Solutions
>        cygwin registry name: Cygwin
>        program options name: Program Options
>        cygwin mount registry name: mounts v2
>        cygdrive flags: cygdrive flags
>        cygdrive prefix: cygdrive prefix
>        cygdrive default prefix:
>        build date: Wed Sep 12 23:54:31 EDT 2001
>        shared id: cygwin1S3


-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019