G_STDIO_NO_WRAP_ON_UNIX wraps
Submitted by Andreas Köhler
Link to original bug (#401408)
Description
Since GLib 2.6 and maybe earlier, gstdio.h contains a macro test for G_STDIO_NO_WRAP_ON_UNIX (GSNWOU) and works like:
#if defined(G_OS_UNIX) && !defined(GSNWOU)
#define g_xxx xxx
#else
int g_xxx (<param>
*);
#endif
As g_xxx works unix basically only returns the return value of xxx, I would call that "wrapping" xxx. But if this assumption is correct, then GSNWOU actually leads to wrapping and should be called G_STDIO_WRAP_ON_UNIX.
It seems to me that this macro is undocumented, so maybe there is way to fix this naming despite compatibility reasons?