gst/gst.c: make the registry cache file HOST_CPU-dependent
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 16 Dec 2005 17:34:19 +0000 (17:34 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 16 Dec 2005 17:34:19 +0000 (17:34 +0000)
Original commit message from CVS:

* gst/gst.c: (init_post):
make the registry cache file HOST_CPU-dependent

ChangeLog
common
docs/faq/gst-uninstalled
gst/gst.c

index d86b360..75c6850 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gst.c: (init_post):
+         make the registry cache file HOST_CPU-dependent
+
 2005-12-16  Andy Wingo  <wingo@pobox.com>
 
        * plugins/elements/gstbufferstore.c
diff --git a/common b/common
index 4edc214..1437720 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 4edc214072fe07d2aade96bc336493425654d7b4
+Subproject commit 14377200ccbba1f366ce2c2746c8cd70f61b9840
index 6187641..592e469 100755 (executable)
@@ -64,7 +64,7 @@ shell=$SHELL
 if test "x$SHELL" == "x/bin/bash"
 then
   # debian/ubuntu resets our PS1.  bastards.
-  shell="$SHELL --norc --noprofile"
+  shell="$SHELL --noprofile"
 fi
 PS1="[gst-$VERSION] $PS1" $shell
 
index 9584519..7c71b1d 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -589,7 +589,7 @@ init_post (void)
     registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
     if (registry_file == NULL) {
       registry_file = g_build_filename (g_get_home_dir (),
-          ".gstreamer-" GST_MAJORMINOR, "registry.xml", NULL);
+          ".gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".xml", NULL);
     }
     GST_DEBUG ("Reading registry cache");
     gst_registry_xml_read_cache (default_registry, registry_file);