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:
023e3b3
)
Fix build with statvfs
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jul 2013 21:04:56 +0000
(17:04 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jul 2013 21:04:56 +0000
(17:04 -0400)
As pointed out in bug 704587, the maze of ifdefs was missing the
variable declaration for statfs_result in one case.
https://bugzilla.gnome.org/show_bug.cgi?id=704587
gio/glocalfile.c
patch
|
blob
|
history
diff --git
a/gio/glocalfile.c
b/gio/glocalfile.c
index
a4196dc
..
67e8313
100644
(file)
--- a/
gio/glocalfile.c
+++ b/
gio/glocalfile.c
@@
-2440,6
+2440,7
@@
is_remote_fs (const gchar *filename)
#elif defined(USE_STATVFS)
struct statvfs statfs_buffer;
+ int statfs_result = 0;
statfs_result = statvfs (filename, &statfs_buffer);
#else