Commit a0c45852 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.


svn path=/trunk/; revision=6988
parent 946b7800
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> 2008-06-10 Matthias Clasen <mclasen@redhat.com>
Bug 528600 – g_dummy_file_get_parent("scheme://example.com/") Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
......
...@@ -578,7 +578,7 @@ g_local_file_enumerate_children (GFile *file, ...@@ -578,7 +578,7 @@ g_local_file_enumerate_children (GFile *file,
GError **error) GError **error)
{ {
GLocalFile *local = G_LOCAL_FILE (file); GLocalFile *local = G_LOCAL_FILE (file);
return _g_local_file_enumerator_new (local->filename, return _g_local_file_enumerator_new (local,
attributes, flags, attributes, flags,
cancellable, error); cancellable, error);
} }
...@@ -618,6 +618,10 @@ get_fs_type (long f_type) ...@@ -618,6 +618,10 @@ get_fs_type (long f_type)
{ {
case 0xadf5: case 0xadf5:
return "adfs"; return "adfs";
case 0x5346414f:
return "afs";
case 0x0187:
return "autofs";
case 0xADFF: case 0xADFF:
return "affs"; return "affs";
case 0x42465331: case 0x42465331:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment