don't spill paths from registry until we fix the generic case
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 14 Mar 2004 16:40:24 +0000 (16:40 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 14 Mar 2004 16:40:24 +0000 (16:40 +0000)
Original commit message from CVS:
don't spill paths from registry until we fix the generic case

ChangeLog
tools/gst-register.c

index 196972c..812bc99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * tools/gst-register.c: do not spill paths when registries are not
+          writable, until we fix the "user running gst-register" case.
+
 2004-03-13  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * *.c, *.h: commit of gst-indent run on core
index 5e6f41b..c9353cf 100644 (file)
@@ -133,8 +133,12 @@ main (int argc, char *argv[])
        * FIXME: we should check if the paths that were loaded from this
        registry get removed from the path_list so we only try to
        spill paths that could not be registered */
-      path_spill = g_list_concat (path_spill,
-         gst_registry_get_path_list (registry));
+      /* Until that is done, don't spill paths when registry is not writable
+         (e.g. case of user running gst-register and sysreg not writable) */
+      /*
+         path_spill = g_list_concat (path_spill,
+         gst_registry_get_path_list (registry));
+       */
     }
 
     dir_list = gst_registry_get_path_list (registry);