]> git.pond.sub.org Git - empserver/commit
Make utility programs abort on internal error
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2008 12:22:34 +0000 (13:22 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 7 Feb 2008 07:01:53 +0000 (08:01 +0100)
commita38fad422943c4266348af584172090435b4e949
treeaa359e4d6327210ccc6d35206160cd6cacfd33ba
parenta573f44960a5c8e51b060e7eecea64d18df6ed43
Make utility programs abort on internal error

Until now, they tried to recover and continue (debug off).  That's
appropriate only for the server.  The server could be told to abort
instead (debug on, selected by option -d), but not the utility
programs.

Change debug to be on by default, and switch it off early in the
server's main().  No functional change for the server.
src/lib/gen/log.c
src/server/main.c