Date: Thu, 31 Oct 1996 16:48:30 +0200 (IST) From: Eli Zaretskii To: Grzegorz Kolodziej Cc: djgpp AT delorie DOT com Subject: Re: Problem with findfirst & findnext In-Reply-To: <3278F567.1D80@sabat.tu.kielce.pl> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 31 Oct 1996, Grzegorz Kolodziej wrote: > The problem is (as it can be seen using gdb): > While findfirst() finds file (res==0) the ffblk structure contains > strange values i.e. field ff_name contains file name without first > 2 letters,ff_fsize is any huge number (other fields aren't correct > also), so found file couldn't be deleted by unlink(). This bug and its solution are explained in the DJGPP FAQ list (v2/faq202b.zip from the same place you get DJGPP), section 22.10. OTOH, if you upgrade to DJGPP v2.01, you won't need to read about this problem, since it's corrected in that version.