From a0c45852e1618b86ef6681b05333bb716febec56 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 10 Jun 2008 15:37:41 +0000 Subject: [PATCH] =?UTF-8?q?=20=20=20=20=20=20=20=20Bug=20536641=20?= =?UTF-8?q?=E2=80=93=20Filesystem=20querying=20in=20gio=20does=20not=20lis?= =?UTF-8?q?t=20AFS=20and=20autofs=20=20=20=20=20=20=20=20=20file=20systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * glocalfile.c (get_fs_type): Add afs and autofs. Patch by Danny Baumann. svn path=/trunk/; revision=6988 --- gio/ChangeLog | 8 ++++++++ gio/glocalfile.c | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 04b04f844..5d63e0757 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,11 @@ +2008-06-10 Matthias Clasen + + 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 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/") diff --git a/gio/glocalfile.c b/gio/glocalfile.c index aa009e79f..166a964e2 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -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: