gvfs r1157 - in trunk: . client
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1157 - in trunk: . client
- Date: Mon, 21 Jan 2008 14:35:49 +0000 (GMT)
Author: alexl
Date: Mon Jan 21 14:35:48 2008
New Revision: 1157
URL: http://svn.gnome.org/viewvc/gvfs?rev=1157&view=rev
Log:
2008-01-21 Alexander Larsson <alexl redhat com>
* client/gvfsfusedaemon.c:
Fix error with the names of the root items the
fuse mount.
Modified:
trunk/ChangeLog
trunk/client/gvfsfusedaemon.c
Modified: trunk/client/gvfsfusedaemon.c
==============================================================================
--- trunk/client/gvfsfusedaemon.c (original)
+++ trunk/client/gvfsfusedaemon.c Mon Jan 21 14:35:48 2008
@@ -53,7 +53,7 @@
#define FUSE_USE_VERSION 26
#include <fuse.h>
-#define DEBUG_ENABLED 1
+#define DEBUG_ENABLED 0
#define GET_FILE_HANDLE(fi) (GUINT_TO_POINTER ((guint) (fi)->fh))
#define SET_FILE_HANDLE(fi, fh) ((fi)->fh = (guint64) GPOINTER_TO_UINT (fh))
@@ -305,7 +305,7 @@
mount_record->root = g_mount_get_root (mount);
name = g_object_get_data (G_OBJECT (mount), "g-stable-name");
- if (name != NULL)
+ if (name != NULL && *name != 0)
name = g_strdup (name);
else
name = g_mount_get_name (mount);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]