aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-06-27 13:40:07 +0100
committerRon Yorston <rmy@pobox.com>2021-06-27 14:05:33 +0100
commit0fdf99bee07b6c38795eb5415b5e337ab82cfba8 (patch)
tree09409cdc12b08bd3e37c942738525666ed759a02 /init
parent6d6856355aec9ed6c9b8039b9b1ec8f997395c9e (diff)
downloadbusybox-w32-0fdf99bee07b6c38795eb5415b5e337ab82cfba8.tar.gz
busybox-w32-0fdf99bee07b6c38795eb5415b5e337ab82cfba8.tar.bz2
busybox-w32-0fdf99bee07b6c38795eb5415b5e337ab82cfba8.zip
win32: changes to mntent implementation
Make the structure returned by getmntent(3) static so it persists after endmntent(3) closes the stream. No current caller in the WIN32 port needs this functionality but it's good to match the documented behaviour. Populate more fields of the mntent structure in find_mount_point(). This is required to support the df -t and -T flags recently added upstream. The static structures used here are allocated on demand. Separate static structures are used in each case because df iterates through mounts calling statfs(2) on each and the WIN32 implementation of statfs(2) calls find_mount_point().
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions