Re: Common bug: findfirst issue / List of other FreeDOS application bug

John M Harrison <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
Hi All,

  This also sounds like the bug I have when trying to use XFS networking
with freedos.

  dir e:  -- works OK
  dir e:*.bat -- no files found

  I hope so.

  I am looking forward to testing the fix.

  regards,
  john


On Wed, 30 Oct 2002, Eric Auer wrote:

> Hi all,
> 
> after discussing a bug in FIND with Jim (jhall), I thought it would be
> appropriate to do further testing with other programs as well...
> 
> The bug: findfirst() in Turbo C uses the semantics of the FCB version,
> not the filehandle version, of the DOS API (did not check which int 21
> call it actually uses), so it cannot take drive/path, only plain filenames
> (with wildcards).
> 
> The symptom:
> c:\foo> find "test" \autoexec.bat
> results in a "file not found" error because findfirst cannot handle the "\",
> nor would it be able to handle other path/drive stuff. Actually, find may try
> to search autoexec.bat in the current directory instead. As Jim knows about
> the bug now, a fix is already underway.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.