www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/13/01:59:31

Date: Tue, 13 Aug 1996 08:55:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olivier Bouton <chiron AT worldnet DOT fr>
Cc: djgpp AT delorie DOT com
Subject: Re: Problems with findfirst/findnext under DOS/Win95 and DJGPP 2.0
In-Reply-To: <4uli4p$bmi@news.sct.fr>
Message-Id: <Pine.SUN.3.91.960813085128.28748J@is>
Mime-Version: 1.0

On 11 Aug 1996, Olivier Bouton wrote:

> Then, what must i do ? Please don't answer that i should use _dos_findfirst 
> (maybe it won't work better, and i want to have an "easily portable" source), 
> or command line gobbling (works only at starting time !), or that ff_name-2 is 
> where i will find my correct filenames under C++ (true but...)

This is a known bug in the current version of the GNU C++ compiler: it
doesn't pack structs correctly.  There is a workaround (it doesn't requre
you to use `_dos_findfrst') described in section 22.10 of the DJGPP FAQ
list (available as v2/faq201b.zip from the same place you get DJGPP). 

- Raw text -


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