mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02:00
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
This commit is contained in:
@@ -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>
|
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,
|
|||||||
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)
|
|||||||
{
|
{
|
||||||
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:
|
||||||
|
Reference in New Issue
Block a user