aux.c special name?

John Peacock jpeacock@rowman.com
Sun Nov 11 08:26:00 GMT 2001


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"
> 
> 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.

AUX is a reserved word under DOS based systems (oddly enough including NT).
So is PRN and LPT1.  You cannot have any file with that name (try it in a
DOS box).  Stupid, isn't it.  There is no way to get around it.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

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



More information about the Cygwin mailing list