Date: Mon, 25 Nov 1996 13:30:30 +0200 (IST) From: Eli Zaretskii To: Guido Pinkas Cc: djgpp AT delorie DOT com Subject: Re: DJGPP v2 Bug ? In-Reply-To: <57bs80$6hq@fstgal00.tu-graz.ac.at> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 25 Nov 1996, Guido Pinkas wrote: > I encountered a problem,when I tried to list a Directory in DOS Mode. > I used the struct ffblk Structure and the findfirst/findnext-procedures > just like in the example given in Info. It also works,but unfortunately, > the ff_name cuts the first two characters of every filename and the ff_fsize > is totally screwed up... I didn't test the other fields of ffblk. This is a known bug in GCC 2.7.1. A work-around is described in the DJGPP FAQ list (v2/faq202b.zip from the same place you get DJGPP), section 22.10. Alternatively, you could upgrade to DJGPP v2.01 which comes with GCC 2.7.2.1 where this bug is fixed.