Re: [AD] Mac OS X: file_exists bus error |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Mac OS X: file_exists bus error
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Thu, 01 Jun 2006 23:00:04 +0200
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