change env variable to G_MESSAGES_PREFIXED, suggested by Tim
authorHavoc Pennington <hp@pobox.com>
Fri, 11 May 2001 03:07:53 +0000 (03:07 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Fri, 11 May 2001 03:07:53 +0000 (03:07 +0000)
2001-05-10  Havoc Pennington  <hp@pobox.com>

* gmessages.c (g_log_write_prefix): change env variable to
G_MESSAGES_PREFIXED, suggested by Tim

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c
gmessages.c

index d4f5b0b..18eeaf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index d4f5b0b..18eeaf6 100644 (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
index 3cfaa52..3a4aa33 100644 (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)
         {
index 3cfaa52..3a4aa33 100644 (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)
         {