Re: [AD] set_config_file jumping around on OS X bundles

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


On 2005-08-27, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On 8/24/05, Peter Hull <peter.hull90@xxxxxxxxxx> wrote:
> > Please find attached a patch to move the 'magic chdir' to earlier in the
> > startup process, so that the config file will be looked for in the resource
> > directory (this is {BundleName}.app/Contents/Resources/{executable-name}) if
> > is present. I also made more use of the file and path manipulation functions
> > provided by Cocoa, which should make it more robust.
...
> It fixes the problem of reading and writing to two different config
> files, which was all I was really asking for. It'd be nice to see this
> in RC2.

I have no idea what's going on, but on your endorsement... committed. :-)





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