|[hatari-devel] Core dump if using LOG_TRACE function during Hatari's init|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
while testing some code, I noticed it's not possible to use LOG_TRACE
function before Main_Init() is called, as this calls Log_Init.
Doing so will result in a core dump (because TraceFile==NULL in
Eero, do you think it could be possible to call Log_Init at the very
beginning with TraceFile="stderr" and then call it again after command
line / config file were parsed in case the user gave another filename
for TraceFile ?