[glib] Drop GVFS_INOTIFY_DIAG debug feature



commit 6a50dc511ba994b49244b10f232ed1fcb6bfdccb
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 11 20:22:26 2012 -0400

    Drop GVFS_INOTIFY_DIAG debug feature
    
    Just not a good idea to have this in production code.

 docs/reference/gio/overview.xml |   11 ------
 gio/inotify/Makefile.am         |    2 -
 gio/inotify/inotify-diag.c      |   74 ---------------------------------------
 gio/inotify/inotify-diag.h      |   29 ---------------
 gio/inotify/inotify-helper.c    |    2 -
 5 files changed, 0 insertions(+), 118 deletions(-)
---
diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml
index bde9b6f..29087ca 100644
--- a/docs/reference/gio/overview.xml
+++ b/docs/reference/gio/overview.xml
@@ -263,17 +263,6 @@
     </formalpara>
 
     <formalpara>
-      <title><envar>GVFS_INOTIFY_DIAG</envar></title>
-
-      <para>
-        When this environment variable is set and GIO has been built
-        with inotify support, a dump of diagnostic inotify information
-        will be written every 20 seconds to a file named
-        <filename>/tmp/gvfsdid.<replaceable>pid</replaceable></filename>.
-      </para>
-    </formalpara>
-
-    <formalpara>
       <title><envar>GIO_EXTRA_MODULES</envar></title>
 
       <para>
diff --git a/gio/inotify/Makefile.am b/gio/inotify/Makefile.am
index 8eb9e91..2235126 100644
--- a/gio/inotify/Makefile.am
+++ b/gio/inotify/Makefile.am
@@ -10,8 +10,6 @@ libinotify_la_SOURCES = 		\
 	inotify-path.c 			\
 	inotify-missing.c 		\
 	inotify-helper.c 		\
-	inotify-diag.c			\
-	inotify-diag.h			\
 	inotify-kernel.h 		\
 	inotify-missing.h		\
 	inotify-path.h			\
diff --git a/gio/inotify/inotify-helper.c b/gio/inotify/inotify-helper.c
index 6ee0b4b..b1a9cf1 100644
--- a/gio/inotify/inotify-helper.c
+++ b/gio/inotify/inotify-helper.c
@@ -36,7 +36,6 @@
 #include "inotify-helper.h"
 #include "inotify-missing.h"
 #include "inotify-path.h"
-#include "inotify-diag.h"
 
 static gboolean ih_debug_enabled = FALSE;
 #define IH_W if (ih_debug_enabled) g_warning 
@@ -87,7 +86,6 @@ _ih_startup (void)
       return FALSE;
     }
   _im_startup (ih_not_missing_callback);
-  _id_startup ();
 
   IH_W ("started gvfs inotify backend\n");
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]