delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/02/16/12:43:45

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9702161733.AA14827@clio.rice.edu>
Subject: Re: fstat returns garbage
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sun, 16 Feb 1997 11:33:42 -0600 (CST)
Cc: rupp AT gnat DOT com, djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.970216094004.14977J-100000@is> from "Eli Zaretskii" at Feb 16, 97 09:51:43 am

> NT's DPMI host is known to lose selectors when spawning child
> processes, so maybe when `fstat' needs to use _dos_ds, it somehow fails
> due to lack of selectors.  Charles? 

If we fail to allocate a selector for dos_ds, we set it to 0, which will cause
a failure if you try to use it.  NT is one of the DOS versions which you can't
get any useful information from cheating and looking at the low memory in 
fstat anyway.

- Raw text -


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