mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
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.
3.1 KiB
3.1 KiB