glib r6737 - trunk/gio
- From: sbacher svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6737 - trunk/gio
- Date: Wed, 19 Mar 2008 14:07:00 +0000 (GMT)
Author: sbacher
Date: Wed Mar 19 14:07:00 2008
New Revision: 6737
URL: http://svn.gnome.org/viewvc/glib?rev=6737&view=rev
Log:
2008-03-19 Sebastien Bacher <seb128 ubuntu com>
* gunixmounts.c: (guess_mount_type):
consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
Modified:
trunk/gio/ChangeLog
trunk/gio/gunixmounts.c
Modified: trunk/gio/gunixmounts.c
==============================================================================
--- trunk/gio/gunixmounts.c (original)
+++ trunk/gio/gunixmounts.c Wed Mar 19 14:07:00 2008
@@ -1595,7 +1595,8 @@
(strcmp (filesystem_type, "iso9660") == 0) ||
(strcmp (filesystem_type, "cd9660") == 0))
type = G_UNIX_MOUNT_TYPE_CDROM;
- else if (strcmp (filesystem_type, "nfs") == 0)
+ else if ((strcmp (filesystem_type, "nfs") == 0) ||
+ (strcmp (filesystem_type, "nfs4") == 0))
type = G_UNIX_MOUNT_TYPE_NFS;
else if (g_str_has_prefix (device_path, "/vol/dev/diskette/") ||
g_str_has_prefix (device_path, "/dev/fd") ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]