Re: [AD] Mac OS X: file_exists bus error

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


On Thu, 2006-06-01 at 18:31 +0100, Peter Hull wrote:
> I think this is not Mac specific.
> file_exists uses al_findfirst, and al_findfirst takes a shortcut if
> there are no wildcards in the path specified (src/unix/ufile.c:336) In
> this case, the 'dir' member of the find info is unused. (If there are
> wildcards, it holds the opendir structure)
> The problem is that al_findclose calls closedir regardless.
> Patch attached.
> 

Thanks, I'm sure I'm to blame, must have to do with the >2GB file-size
related changes. Committed it.

-- 
Elias Pschernig





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