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:
baf20e0
)
Fix the filename roundtrip check
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 6 Jan 2010 18:23:48 +0000
(13:23 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 6 Jan 2010 18:27:19 +0000
(13:27 -0500)
The check was always failing because the code was comparing
the wrong strings. Reported in bug 605977.
gio/glocalfile.c
patch
|
blob
|
history
diff --git
a/gio/glocalfile.c
b/gio/glocalfile.c
index
2d2801d
..
d6eea13
100644
(file)
--- a/
gio/glocalfile.c
+++ b/
gio/glocalfile.c
@@
-417,7
+417,7
@@
g_local_file_get_parse_name (GFile *file)
charset, "UTF-8", NULL, NULL, NULL);
if (roundtripped_filename == NULL ||
- strcmp (
utf8_
filename, roundtripped_filename) != 0)
+ strcmp (filename, roundtripped_filename) != 0)
{
g_free (utf8_filename);
utf8_filename = NULL;