mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 08:58:44 +02:00
Move the alloc_console_called static flag inside these two functions.
2003-01-01 Tor Lillqvist <tml@iki.fi> * glib/gmessages.c (ensure_stderr_valid, ensure_stdout_valid): Move the alloc_console_called static flag inside these two functions.
This commit is contained in:
committed by
Tor Lillqvist
parent
7809df2a6a
commit
ac17691afc
@@ -1,7 +1,8 @@
|
||||
2003-01-01 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gmessages.c (ensure_stderr_valid): New function, parallel
|
||||
to ensure_stdout_valid(). #defined as empty on Unix.
|
||||
to ensure_stdout_valid(). #defined as empty on Unix. Move the
|
||||
alloc_console_called static flag inside these two functions.
|
||||
(mklevel_prefix): Do use either stderr or stdout on Windows,
|
||||
too. Otherwise g_warning() messages (that are just warnings, by
|
||||
definition) will get mixed with proper stdout output. Noticed in
|
||||
|
Reference in New Issue
Block a user