delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/02/11:01:09

Date: Mon, 2 Nov 1998 10:59:46 -0500 (EST)
Message-Id: <199811021559.KAA16174@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <199811021400.OAA40700@out4.ibm.net> (snowball3@usa.net)
Subject: Re: lfn for dos
Reply-To: djgpp-workers AT delorie DOT com

> I noticed in its readme.txt it mentions that DJGPP has a bug in
> closedir(). Can any of the RTL gurus comment on this?

The LFN opendir call has a matching closedir call; the SFN versions
don't.  DJGPP's closedir() function doesn't (or at least didn't) call
the closedir call for LFN.

Microsoft apparently works around this problem by auto-closing when
the last entry is read.

- Raw text -


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