delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/21/01:12:47

From: Bart Oldeman <bartoldeman AT NOSPAM DOT users DOT sourceforge DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP/LFNs/DOSEMU
Date: Mon, 21 Jul 2003 04:52:20 +0000 (UTC)
Organization: BT Openworld
Lines: 25
Message-ID: <Pine.LNX.4.44.0307210532190.22461-100000@enm-bo-lt.localdomain>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0307202150140 DOT 20885-100000 AT enm-bo-lt DOT localdomain>
<2593-Mon21Jul2003063204+0300-eliz AT elta DOT co DOT il>
NNTP-Posting-Host: dial81-131-20-252.in-addr.btopenworld.com
Mime-Version: 1.0
X-Trace: hercules.btinternet.com 1058763140 13280 81.131.20.252 (21 Jul 2003 04:52:20 GMT)
X-Complaints-To: news-complaints AT lists DOT btinternet DOT com
NNTP-Posting-Date: Mon, 21 Jul 2003 04:52:20 +0000 (UTC)
In-Reply-To: <2593-Mon21Jul2003063204+0300-eliz@elta.co.il>
X-X-Sender: enbeo AT enm-bo-lt DOT localdomain
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 21 Jul 2003, Eli Zaretskii wrote:

> > From: Bart Oldeman <bartoldeman AT NOSPAM DOT users DOT sourceforge DOT net>
>
> > All functions are implemented except for
> >         case 0xa6: /* get file info by handle */
> >         case 0xa9: /* server create or open file */
> >         case 0xaa: /* create/terminate/query subst */
> > this is enough for DJGPP -- I tested by compiling the LIBC.
>
> I'm surprised: I thought we use 0xa6.

you do, in src/libc/posix/sys/stat/fstat.c, but just as a means to "try
harder" if SFT methods fail (as far as I can quickly see in the source
code, I may miss something here).

What DOSEMU does for an "open" is to create the file if necessary
and then generate the corresponding short filename and forward the request
to the DOS that runs in DOSEMU using int21/ah=6c. This DOS will then call
DOSEMU again using int2f/ax=11xx (network redirector) but assign the
SFT for that file, assign a handle, and so on. Subsequently DJGPP's fstat
can use that SFT.

Bart

- Raw text -


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