mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'statvfs-type' into 'main'
glocalfile: Support statvfs.f_type See merge request GNOME/glib!3893
This commit is contained in:
commit
b7ef29560d
@ -1089,6 +1089,8 @@ g_local_file_query_filesystem_info (GFile *file,
|
||||
fstype = statfs_buffer.f_fstypename;
|
||||
#elif defined(HAVE_STRUCT_STATVFS_F_BASETYPE)
|
||||
fstype = statfs_buffer.f_basetype;
|
||||
#elif defined(HAVE_STRUCT_STATVFS_F_TYPE)
|
||||
fstype = get_fs_type (statfs_buffer.f_type);
|
||||
#else
|
||||
fstype = NULL;
|
||||
#endif
|
||||
|
@ -507,6 +507,7 @@ struct_members = [
|
||||
#include <dirent.h>''' ],
|
||||
[ 'statvfs', 'f_basetype', '#include <sys/statvfs.h>' ],
|
||||
[ 'statvfs', 'f_fstypename', '#include <sys/statvfs.h>' ],
|
||||
[ 'statvfs', 'f_type', '#include <sys/statvfs.h>' ],
|
||||
[ 'tm', 'tm_gmtoff', '#include <time.h>' ],
|
||||
[ 'tm', '__tm_gmtoff', '#include <time.h>' ],
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user