Mail Archives: djgpp/1996/11/25/06:39:59
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.
- Raw text -