delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
Date: | Sun, 28 Apr 2002 22:28:18 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | sandmann AT clio DOT rice DOT edu |
Message-Id: | <639-Sun28Apr2002222817+0300-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
CC: | djgpp-workers AT delorie DOT com, acottrel AT ihug DOT com DOT au |
In-reply-to: | <10204281547.AA25276@clio.rice.edu> (sandmann@clio.rice.edu) |
Subject: | Re: _open LFN & Win 2K Bug (Was Re: a bug) |
References: | <10204281547 DOT AA25276 AT clio DOT rice DOT edu> |
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 |
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Sun, 28 Apr 2002 10:47:44 -0500 (CDT) > > Specifically, it seems that calling _open() with a name which includes > a wildcard character (*,?) the dos error code returned is not 2 but > instead is 123 (0x7b) - which we interpret in _doserr_to_errno to be > EFAULT instead of ENOENT. > > Win2K seems to return the standard code if what is sent to _open does > not contain a wildcard. What about characters like <, >, and | -- what happens then? > An easy fix would be to change the doserr_to_errno translation table. That'd be oprobably the easiest fix. Please add a comment there explaining what is this for. > Note, my results above show EFAULT (11) while Andrew noted 14 below, which > would be EINVAL - I don't know if this is a typo or a different test > result. Andrew?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |