Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2008-07-04 21:32:35 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2008-07-04 21:32:35 (GMT)
commitf74ce87363dad6b85c1b6f1be41b889144362901 (patch)
tree8e4e2dc190e52d390ff5c827e7f5800c90a033e5 /src/gcompris
parent66199e3799d5ff0adfdf05edb8c53c8d4fed21e1 (diff)
There is a major issue on platform that does not use binreloc. In that
* src/gcompris/gcompris.c: (load_properties): There is a major issue on platform that does not use binreloc. In that case Compris exec_prefix gets set to ""; instead of NULL in gcompris.c, causes the latest gcompris to not start at all under Fedora and Mandriva (and probably others). replaced: exec_prefix = gbr_find_exe_dir(""); by: exec_prefix = gbr_find_exe_dir(NULL); svn path=/trunk/; revision=3461
Diffstat (limited to 'src/gcompris')
-rw-r--r--src/gcompris/gcompris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index 165bcb3..0fccbef 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -1127,9 +1127,9 @@ static void load_properties ()
#ifdef NSBUNDLE
exec_prefix = gcompris_nsbundle_resource ();
#else
- exec_prefix = gbr_find_exe_dir("");
+ exec_prefix = gbr_find_exe_dir(NULL);
#endif
- g_warning("exec_prefix %s\n", exec_prefix);
+ g_warning("exec_prefix %s\n", (exec_prefix==NULL ? "NONE" : exec_prefix);
prefix_dir = gbr_find_prefix(NULL);