Date: Tue, 19 Mar 1996 20:31:41 +0200 (IST) From: Eli Zaretskii To: Mat Hostetter Cc: djgpp-workers AT delorie DOT com Subject: Re: gdb info In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 19 Mar 1996, Mat Hostetter wrote: > C:, where the nonexistent file resides, used to be mounted as > "beaut_dos" under Linux, and perhaps Cliff gave the volume a similar > label long ago.. Here it shows the ff_name as "_BEAUT_DO.S" Then I'd suggest to test ff_blk.ff_name against the filename part of `path' that you pass to `findfirst', and if they don't match, treat that `else if' clause as if it failed. In your case, you should see if "BADFILE" matches "_BEAUT_DO.S", which fails. I think this isn't too much of a kludge, because I'd expect from a *really* successfull call to return a name that it was asked about, not something else.