mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
change env variable to G_MESSAGES_PREFIXED, suggested by Tim
2001-05-10 Havoc Pennington <hp@pobox.com> * gmessages.c (g_log_write_prefix): change env variable to G_MESSAGES_PREFIXED, suggested by Tim
This commit is contained in:
parent
a5947b9df8
commit
43d6ef7f16
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-05-10 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gmessages.c (g_log_write_prefix): change env variable to
|
||||
G_MESSAGES_PREFIXED, suggested by Tim
|
||||
|
||||
Thu May 10 15:19:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
|
||||
|
@ -155,16 +155,16 @@ g_log_write_prefix (gint fd,
|
||||
GLogLevelFlags mask)
|
||||
{
|
||||
static GLogLevelFlags g_log_msg_prefix = G_LOG_LEVEL_ERROR | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_DEBUG;
|
||||
static gboolean initted = FALSE;
|
||||
static gboolean initialized = FALSE;
|
||||
|
||||
g_mutex_lock (g_messages_lock);
|
||||
|
||||
if (!initted)
|
||||
if (!initialized)
|
||||
{
|
||||
const gchar *val;
|
||||
initted = TRUE;
|
||||
initialized = TRUE;
|
||||
|
||||
val = g_getenv ("G_PREFIX_MESSAGES");
|
||||
val = g_getenv ("G_MESSAGES_PREFIXED");
|
||||
|
||||
if (val)
|
||||
{
|
||||
|
@ -155,16 +155,16 @@ g_log_write_prefix (gint fd,
|
||||
GLogLevelFlags mask)
|
||||
{
|
||||
static GLogLevelFlags g_log_msg_prefix = G_LOG_LEVEL_ERROR | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_DEBUG;
|
||||
static gboolean initted = FALSE;
|
||||
static gboolean initialized = FALSE;
|
||||
|
||||
g_mutex_lock (g_messages_lock);
|
||||
|
||||
if (!initted)
|
||||
if (!initialized)
|
||||
{
|
||||
const gchar *val;
|
||||
initted = TRUE;
|
||||
initialized = TRUE;
|
||||
|
||||
val = g_getenv ("G_PREFIX_MESSAGES");
|
||||
val = g_getenv ("G_MESSAGES_PREFIXED");
|
||||
|
||||
if (val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user