www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/25/06:39:59

Date: Mon, 25 Nov 1996 13:30:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Guido Pinkas <guidoni AT sbox DOT tu-graz DOT ac DOT at>
Cc: djgpp AT delorie DOT com
Subject: Re: DJGPP v2 Bug ?
In-Reply-To: <57bs80$6hq@fstgal00.tu-graz.ac.at>
Message-Id: <Pine.SUN.3.91.961125132830.1592D-100000@is>
Mime-Version: 1.0

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 -


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