Bug 536641 – Filesystem querying in gio does not list AFS and autofs
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 10 Jun 2008 15:37:41 +0000 (15:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 10 Jun 2008 15:37:41 +0000 (15:37 +0000)
        file systems

        * glocalfile.c (get_fs_type): Add afs and autofs.
        Patch by Danny Baumann.

svn path=/trunk/; revision=6988

gio/ChangeLog
gio/glocalfile.c

index 04b04f84428b6816d6a5dba581d06cf5bd553e0e..5d63e0757b85f93a74865de4ee61f29bf35b1255 100644 (file)
@@ -1,3 +1,11 @@
+2008-06-10  Matthias Clasen <mclasen@redhat.com>
+
+       Bug 536641 – Filesystem querying in gio does not list AFS and autofs
+       file systems
+
+       * glocalfile.c (get_fs_type): Add afs and autofs.
+       Patch by Danny Baumann.
+
 2008-06-10  Matthias Clasen <mclasen@redhat.com>
 
        Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
index aa009e79f744bd389c5cc23755c424eb24039334..166a964e2b04c4d34e22aa7683577a85d05f1250 100644 (file)
@@ -578,7 +578,7 @@ g_local_file_enumerate_children (GFile                *file,
                                 GError              **error)
 {
   GLocalFile *local = G_LOCAL_FILE (file);
-  return _g_local_file_enumerator_new (local->filename,
+  return _g_local_file_enumerator_new (local,
                                       attributes, flags,
                                       cancellable, error);
 }
@@ -618,6 +618,10 @@ get_fs_type (long f_type)
     {
     case 0xadf5:
       return "adfs";
+    case 0x5346414f:
+      return "afs";
+    case 0x0187:
+      return "autofs";
     case 0xADFF:
       return "affs";
     case 0x42465331: