[Freeciv-Dev] Re: fix recent misuse of LOG_FATAL
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2000/05/11 14:14 , David Pfitzner wrote:
>Jeff Mallatt wrote:
>
>> Here's a patch that changes these two back to LOG_FATAL, and makes them so.
>
>> + exit(1);
>
>In cases like these abort() may be better, so you get a core dump
>which you can examine to try work out what/why it went wrong.
True. My excuse is that exit() is used about two orders of magnitude more
often in Freeciv than abort(). But, for the ones I change, I'll use
abort() -- here's a new patch.
log-fatal-fixes-2.diff
Description: Text document
jjm
|
|