[Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 17 21:33:44 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311

--- Comment #9 from rozhuk.im at gmail.com ---
Ugly glib`s gio strikes again...


(In reply to Tijl Coosemans from comment #8)

Yes, but getfsstat() looks like thread safe.
https://www.freebsd.org/cgi/man.cgi?query=getfsstat&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports 

Calling g_unix_mount_points_get() instead of g_unix_mounts_get() - very strange
design for g_file_enumerator_next_file().
g_unix_mounts_get() - uses getfsstat().

g_unix_mount_points_get() - with parsing /etc/fstab looks like some staff for
dbus or other software that should deal with mount/unmount only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-xfce mailing list