Re: [AD] possible bug in filetest.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Peter Wang <tjaden@xxxxxxxxxx> wrote:

> I can reproduce it.  For some reason, under djgpp, for_each_file()
> doesn't work the first time.  If you call it a second time, it works.
> (I noticed this when Shawn's name didn't appear first in the demo game.)
> I'll investigate further now, but this is unfamiliar territory.
> The 4.0 release will have to wait until this is fixed.

FYI eric was right, i was using vbe/af and the problem went away when i
removed vbeaf.drv, however allegro should ideally not be affected by a
problematic driver. so it's worth to investigate it. i bet for_each_file()
makes assumptions on how the system state are at a given moment. if dos
interrupts are used in both vbe/af and for_each_file() for functionality of
the type findfirst/findnext, then we have a problem because these interrupts
remember the state from last call. just a theory...

Sincerely Henrik Stokseth.
-----------------------------------------------------------------------
E-mail: hstokset@xxxxxxxxxx  Homepage: http://hstokset.n3.net





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/