Date: Tue, 13 Aug 1996 08:55:06 +0200 (IST) From: Eli Zaretskii To: Olivier Bouton 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).