glib r6988 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6988 - trunk/gio
- Date: Tue, 10 Jun 2008 15:37:41 +0000 (UTC)
Author: matthiasc
Date: Tue Jun 10 15:37:41 2008
New Revision: 6988
URL: http://svn.gnome.org/viewvc/glib?rev=6988&view=rev
Log:
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.
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalfile.c
Modified: trunk/gio/glocalfile.c
==============================================================================
--- trunk/gio/glocalfile.c (original)
+++ trunk/gio/glocalfile.c Tue Jun 10 15:37:41 2008
@@ -578,7 +578,7 @@
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 @@
{
case 0xadf5:
return "adfs";
+ case 0x5346414f:
+ return "afs";
+ case 0x0187:
+ return "autofs";
case 0xADFF:
return "affs";
case 0x42465331:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]