<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb/find_mount_point.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-08-12T12:27:46+00:00</updated>
<entry>
<title>find_mount_point: code shrink</title>
<updated>2021-08-12T12:27:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-12T12:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9ec4642e35e2f5dc625f0e704020d41e8674fe99'/>
<id>urn:sha1:9ec4642e35e2f5dc625f0e704020d41e8674fe99</id>
<content type='text'>
Use xrealloc_getcwd_or_warn() instead of a hand-rolled WIN32
equivalent.

Saves 84 bytes.
</content>
</entry>
<entry>
<title>ash, libbb: don't affect POSIX build</title>
<updated>2021-07-13T09:43:14+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-07-13T09:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=dcca23dc4cf9b51a1c2576360fea190e9b71204e'/>
<id>urn:sha1:dcca23dc4cf9b51a1c2576360fea190e9b71204e</id>
<content type='text'>
Tweak code to avoid contamination of the POSIX build.  There
weren't any adverse effects, but better safe than sorry.
</content>
</entry>
<entry>
<title>win32: changes to mntent implementation</title>
<updated>2021-06-27T13:05:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-06-27T12:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0fdf99bee07b6c38795eb5415b5e337ab82cfba8'/>
<id>urn:sha1:0fdf99bee07b6c38795eb5415b5e337ab82cfba8</id>
<content type='text'>
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().
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2019-05-27T10:56:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-05-27T10:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a61949401890cbb33a9d6c4571b51c53460ad438'/>
<id>urn:sha1:a61949401890cbb33a9d6c4571b51c53460ad438</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbbb: find_mount_point() too eager to stat mounted devices</title>
<updated>2019-04-29T15:59:08+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-04-29T15:59:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f3a064f4956e113978e74486300dcd1e3e044efa'/>
<id>urn:sha1:f3a064f4956e113978e74486300dcd1e3e044efa</id>
<content type='text'>
None of the below "devices" (first word on the line) are real.

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
devtmpfs /dev devtmpfs rw,nosuid,size=7917900k,nr_inodes=1979475,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,relatime 0 0

function                                             old     new   delta
find_mount_point                                     297     302      +5

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2017-11-03T14:16:08+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2017-11-03T14:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d6ce08aeb85b3698ddaa281016b70e16aeb9fb35'/>
<id>urn:sha1:d6ce08aeb85b3698ddaa281016b70e16aeb9fb35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>whitespace and comment format fixes, no code changes</title>
<updated>2017-10-05T12:40:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-10-05T12:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ebe6d9d8758d36e03cf39b6587597c67ab778436'/>
<id>urn:sha1:ebe6d9d8758d36e03cf39b6587597c67ab778436</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>find_mount_point: avoid warnings about casts to non-const</title>
<updated>2017-08-23T10:19:24+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-06-27T13:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3b974365a17e3a580d908b7deed2410f2ac03d97'/>
<id>urn:sha1:3b974365a17e3a580d908b7deed2410f2ac03d97</id>
<content type='text'>
These changes were forgotten in 878295063 (df: limited implementation
for WIN32, 2013-04-03).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>find_mount_point: avoid unused variables</title>
<updated>2017-08-23T09:37:17+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-06-27T13:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=97214a77b23f0fc26cd4c270c80238d1c3568227'/>
<id>urn:sha1:97214a77b23f0fc26cd4c270c80238d1c3568227</id>
<content type='text'>
These variables are not used when compiling for MINGW.

This change was forgotten in 878295063 (df: limited implementation for
WIN32, 2013-04-03).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: improve implementation of statfs</title>
<updated>2015-11-01T15:06:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-11-01T15:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0'/>
<id>urn:sha1:ea341c79b19ca9f3ddcfdd31caea54b1c815a3b0</id>
<content type='text'>
The WIN32 calls should be passed the root directory of the filesystem.
</content>
</entry>
</feed>
