<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/toys, branch master</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=master</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2021-07-13T19:37:22+00:00</updated>
<entry>
<title>Guo Chuang pointed out that lsattr won't build with headers</title>
<updated>2021-07-13T19:37:22+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-13T19:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=281f30dde58cc16229690a522a0db5b61802220f'/>
<id>urn:sha1:281f30dde58cc16229690a522a0db5b61802220f</id>
<content type='text'>
still within our 7 year time horizon. Clean up the existing
portability attempts while we're there, and add timeout dates.
</content>
</entry>
<entry>
<title>Add options for reproducibility tests.</title>
<updated>2021-07-11T10:02:32+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-11T10:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=b1c071ee037b79e7058ebc03f6ca8536e52dc843'/>
<id>urn:sha1:b1c071ee037b79e7058ebc03f6ca8536e52dc843</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Work around a posix violation in the croups filesystem that LTP requires.</title>
<updated>2021-07-08T09:30:00+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-08T09:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=127cff38809ea6c3a37ed3ce7f428cafdc38e2e1'/>
<id>urn:sha1:127cff38809ea6c3a37ed3ce7f428cafdc38e2e1</id>
<content type='text'>
Posix says you removing a non-empty directory "shall fail" in both:
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/unlinkat.html
https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/rmdir.html

So toybox mv went ahead and unlinked the directory even if the contents
hadn't all been deleted because posix guarantees it to be harmless. But
cgroups (https://lwn.net/Articles/679786/) deletes the non-empty directory,
thus the Linux Test Project's cgroups_fj_function test6 was failing with
toybox mv because they depend on not triggering the posix violating behavior.

Work around it by having mv DIRTREE_SAVE failing nodes and then check for
a non-empty -&gt;child in the COMEAGAIN as a signal not to unlink the dir.

While I'm there do some code cleanup, add a cp -i test...
</content>
</entry>
<entry>
<title>Add split -n test, handle more than one leftover byte, clarify help text.</title>
<updated>2021-07-05T05:57:46+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-05T05:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=3fbacb1f5c5eab1727d0bed0bd50d659af854ec7'/>
<id>urn:sha1:3fbacb1f5c5eab1727d0bed0bd50d659af854ec7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tail -F with no arguments.</title>
<updated>2021-07-04T17:24:32+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-04T17:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=98613d454671ebc3e1a761788453542cd93e6ada'/>
<id>urn:sha1:98613d454671ebc3e1a761788453542cd93e6ada</id>
<content type='text'>
fstat() doesn't fail on stdin, so check for fd 0 explicitly so we don't
try to access zero length array when optc was zero. (Plus can't reopen '-'.)
</content>
</entry>
<entry>
<title>Teach tail -F to work on file that doesn't initially exist (needed</title>
<updated>2021-07-04T16:57:40+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-07-04T16:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=ba242e08ee83910596420f42830fd3d6fc1868d0'/>
<id>urn:sha1:ba242e08ee83910596420f42830fd3d6fc1868d0</id>
<content type='text'>
new lib/ flag), allow -s to be fraction of a second, inline (anonymous)
struct so globals.h isn't using an incomplete type, blank line in
GLOBALS() between option args and other variables, collate
tail_continue() to one function, add test.
</content>
</entry>
<entry>
<title>tail: implement -F (and its companion -s).</title>
<updated>2021-07-01T15:45:56+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2021-06-30T23:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=933f238bd1dfd8931fa3cc60f61aea19802daefd'/>
<id>urn:sha1:933f238bd1dfd8931fa3cc60f61aea19802daefd</id>
<content type='text'>
(Based on someone else's patch.)

Implementing -F with inotify is a lot more work (including more
portability shims for macOS), so this is a simpler polling
implementation.

Also fix my earlier mistake where xnotify_add() wasn't actually an 'x'
function that exits on failure.
</content>
</entry>
<entry>
<title>Add support for -n in split</title>
<updated>2021-06-27T19:05:55+00:00</updated>
<author>
<name>Ella-0</name>
<email>23418164+Ella-0@users.noreply.github.com</email>
</author>
<published>2021-06-27T07:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=df7bfd2e1e7906596f5ac2ef4cdd51c7f1d918b9'/>
<id>urn:sha1:df7bfd2e1e7906596f5ac2ef4cdd51c7f1d918b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for -d $'\n' (cut by line!) and posix -nb (wraps to start of -c)</title>
<updated>2021-06-22T14:55:58+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-06-22T14:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=f4c6375fad2a54770a05e1fffe3a39071fdf47fa'/>
<id>urn:sha1:f4c6375fad2a54770a05e1fffe3a39071fdf47fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Denys Vlasenko pointed out that other implementations use "t" as "total",</title>
<updated>2021-06-22T13:33:14+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2021-06-22T13:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=b1b7fec80d205d11d6eca42a94b9f6b45eedd262'/>
<id>urn:sha1:b1b7fec80d205d11d6eca42a94b9f6b45eedd262</id>
<content type='text'>
and not many systems need to know "free terabytes".
</content>
</entry>
</feed>
