Subj : Bug in internal DosFindF
To   : Jonathan De Boyne Pollar
From : Lee Aroner
Date : Tue Mar 27 2001 02:57 pm

LA> The DOS support in OS/2 does appear to use a badly written
LA> FindFirst/FindNext call, however it has a serious bug that
LA> results in a return of a maximum of about 38,000 files per call.

JdBP> That's interesting.  From what did you deduce this ?


  From an easily reproducible error from a search routine in a DOS
  app I wrote years ago, which we had a discussion about two years
  or so ago.

  I don't recall the details at the moment, but it can be
  reproduced at will. A search on a drive with a known number of
  files will produce a maximum of xxxx files under OS/2, but yield
  all of em under Win or DOS. No error results, just completes
  normally, whistling against the lamppost, as if it had produced
  everything that was there.

  I seem to recall getting an acknowlegement of the problem from
  IBM, and indifference as to fixing it.


                                      LRA


-- SPEED 2.01 #2720: This button doesn't do anything. Press it again ...

--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)