Check the C stdout and stderr streams for validity, instead of what
[platform/upstream/glib.git] / ChangeLog.pre-2-6
1 2003-01-01  Tor Lillqvist  <tml@iki.fi>
2
3         * glib/gmessages.c (ensure_stderr_valid): New function, parallel
4         to ensure_stdout_valid(). #defined as empty on Unix. Move the
5         alloc_console_called static flag inside these two functions.
6         (ensure_stdout_valid, ensure_stderr_valid): Check the C stdout and
7         stderr streams for validity, instead of what GetStdHandle() returns.
8         (mklevel_prefix): Do use either stderr or stdout on Windows,
9         too. Otherwise g_warning() messages (that are just warnings, by
10         definition) will get mixed with proper stdout output. Noticed in
11         GIMP's gimpconfig-dump.
12         (strdup_convert, mklevel_prefix, g_printerr): Call
13         ensure_stderr_valid() before trying to use stderr.
14         (g_logv): [Win32] Convert message to current codepage before
15         display with MessageBox().
16
17 2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>
18
19         * configure.in: Added et to ALL_LINGUAS.
20