Fold many functions into one
commit109e504262d48be288c4690d30d9fa0f483bf122
authorTamas TEVESZ <ice@extreme.hu>
Wed, 17 Mar 2010 03:04:18 +0000 (17 04:04 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 17 Mar 2010 12:34:24 +0000 (17 13:34 +0100)
treeeff0508c8fde4690fea0949d347a9509fd49f90b
parent63e4338284441acb59ad34208c0e6b0dd3a86b88
Fold many functions into one

The result is not much more convoluted than the original was, but much shorter.
Several vararg macros were added -- no idea what !gcc compilers make of this.

The messages sent to these functions are inconsistent across the source tree.
I have now decided that the logging function will add the final newline -
messages will need to be modified accordingly.

I have no idea why the original implementation was as complicated and ugly as
it was. My guess is that it was anticipated that these are be called from
sighandlers, but why no snprintf when they are all stuffed up with vsnprintf...

Still, the result is not worse in this regard either.
WINGs/WINGs/WUtil.h
WINGs/error.c