delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/21/18:57:10

Date: Tue, 21 Sep 1999 15:01:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Krehbiel <rich AT kastle DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP, WATT32: __FSEXT_alloc_fd() failed
In-Reply-To: <7rr51n$huh$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.990921150108.19568F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 16 Sep 1999, Richard Krehbiel wrote:

> The problem I'm hitting now is that I'm getting the error message noted
> in the subject line at the point where watt32's socket.c would be
> allocating file descriptor 20.  Huh?  I've been unable to find the
> source of this limitation.

Are you using DJGPP v2.02?

> socket.c calls __FSEXT_alloc_fd, which
> itself just dups an open handle to the DOS NULL device, and otherwise
> appears not to impose any 20-handle limit

This is true for DJGPP v2.02 and later.

> Well, I already had FILES=30, so I suspected this was not the problem,
> but just in case, I increased it to FILES=200.  There was no change.

Please step with a debugger into the related functions (you will need
to download their sources and compile them with -g), and post here
what did you find out.  I have test programs hich prove to me that
FSEXT can indeed allocate up to 249 handles, which is the maximum.

- Raw text -


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