Mac OS "crash"

Поиск
Список
Период
Сортировка
От Adam H. Pendleton
Тема Mac OS "crash"
Дата
Msg-id 4059EE58.6060904@fmonkey.net
обсуждение исходный текст
Ответы Re: Mac OS "crash"  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgadmin-hackers
Well pgAdmin3 on Panther runs and then suddenly exits, but it's not a
crash.  It's a clean exit when the program encouters a problem, but
there is no "sane" error handler for the problem.  The code in question is:

pgAdmin3.cpp:329

int count = wxDir::GetAllFiles(uiPath+COMMON_DIR, &files, wxT("*.xrc"),
wxDIR_FILES);
if (!count)
    return false;

On Panther count == 0, and since OnIni() just returns false, the program
just stops instead of printing an error.  There should probably be an
error handler here.  As for why GetAllFiles is returning 0, well, I
don't know.  The directory path seems okay ("/usr/local/pgadmin3/ui" +
"common") but it still loads nothing.  Any ideas?

ahp

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: pgAdmin3 on Panther
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Mac OS "crash"