projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b637714
)
Make sure compiled resources only have / as dirsep
author
Руслан Ижбулатов
<lrn1986@gmail.com>
Mon, 21 Apr 2014 15:00:18 +0000
(15:00 +0000)
committer
Руслан Ижбулатов
<lrn1986@gmail.com>
Tue, 5 Aug 2014 21:49:54 +0000
(21:49 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=725511
gio/glib-compile-resources.c
patch
|
blob
|
history
diff --git
a/gio/glib-compile-resources.c
b/gio/glib-compile-resources.c
index
537ca78
..
6bad64f
100644
(file)
--- a/
gio/glib-compile-resources.c
+++ b/
gio/glib-compile-resources.c
@@
-188,7
+188,7
@@
find_file (const gchar *filename)
/* search all the sourcedirs for the correct files in order */
for (i = 0; sourcedirs[i] != NULL; i++)
{
- real_file = g_build_
filename (
sourcedirs[i], filename, NULL);
+ real_file = g_build_
path ("/",
sourcedirs[i], filename, NULL);
exists = g_file_test (real_file, G_FILE_TEST_EXISTS);
if (exists)
return real_file;