Discussion:
[MOD] STR #2935: Fl_File_Browser::load() improvements for Unix
Michael BÀuerle
2013-03-11 12:04:06 UTC
Permalink
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2935
Version: 1.3-current


Problems:
Fl_File_Browser::load() don't work at all on AIX (shows an empty window)
and shows useless, non-functional entries like swap partitions on NetBSD.

The attached patch for r9833 do this:
- Add a last stage fallback to show at least the root filesystem
(if nothing else works as currently on AIX)
- Make it work on AIX using mntctl()
- Use getmntinfo() on NetBSD >=3.0
(older versions use the /etc/fstab fallback as before)
- Show the root filesystem as "/" on all Unix variants
(currently the generic Unix section show it as "//")


Link: http://www.fltk.org/str.php?L2935
Version: 1.3-current

Loading...