This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: aux.c special name?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]