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:
Havoc Pennington 2001-05-11 03:07:53 +00:00 committed by Havoc Pennington
parent a5947b9df8
commit 43d6ef7f16
10 changed files with 48 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
{

View File

@ -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)
{