delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10205010348.AA12477@clio.rice.edu> |
Subject: | Re: _open LFN & Win 2K Bug (Was Re: a bug) |
To: | acottrel AT ihug DOT com DOT au (Andrew Cottrell) |
Date: | Tue, 30 Apr 2002 22:48:01 -0500 (CDT) |
Cc: | djgpp-workers AT delorie DOT com |
In-Reply-To: | <002601c1f02e$0c113260$0102a8c0@acceleron> from "Andrew Cottrell" at Apr 30, 2002 08:01:19 PM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> I get the same result when I add printing the _doserrno. Charles do you want > to mod the doserr_to_errno translation table and send me a copy so I can > double check it or do you want me to do it and send it to you to double > check? Better save than sorry as there are 255 entries to check against RB's > interrupt list table 1680. I'll try to do a fix ASAP. > The EA that is my result is the result from the int21 716C function call, > not the doserr or errno. The following is the result when I add printing > doserr:- Okay, let me explain a bit below. I was calling _open, you are calling open - a version modified with print statements. When calling open, it calls _open, but if that fails it calls _chmod in _file_exists which sets the _doserr code. In this case you also get the 123 decimal value I see. In your case it appears you get an error of EA, which translates into errno 14 (don't understand why you get EA - maybe due to prints to screen somehow messing transfer buffer with different values?). The EA should be a value of 234 decimal. If I change my test to call "open" instead of "_open", I still see errno as "11" - so I believe the print statements are somehow changing the behavior of your test. I tried using both 2.03 refresh and early april CVS.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |