<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/lib, branch 0.8.2</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=0.8.2</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=0.8.2'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2019-10-12T23:05:51+00:00</updated>
<entry>
<title>Sigh, second attempt at removing strlen() from strstart().</title>
<updated>2019-10-12T23:05:51+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-10-12T23:05:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=0424fdaa6db8f4dbdd1cdbe0f700dd92787e157b'/>
<id>urn:sha1:0424fdaa6db8f4dbdd1cdbe0f700dd92787e157b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The __ANDROID_NDK__ symbol is missing from ndk-r20 but Dan Albert pointed</title>
<updated>2019-10-10T23:21:50+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-10-10T23:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=8d59da7210d3afcc3566218c2a1b49cb8c03f2d3'/>
<id>urn:sha1:8d59da7210d3afcc3566218c2a1b49cb8c03f2d3</id>
<content type='text'>
out clang's __has_include(), and &amp;&amp; shorts out the eval for gcc.
</content>
</entry>
<entry>
<title>Don't strlen() potentially long target string each call to strstart().</title>
<updated>2019-10-10T02:36:39+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-10-10T02:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=068b12adfb4577b8e732f56e979017cd690baec5'/>
<id>urn:sha1:068b12adfb4577b8e732f56e979017cd690baec5</id>
<content type='text'>
The downside is we don't use assembly optimized libc comparison functions,
but the common case is short/no matches until full match. Probably net win.
</content>
</entry>
<entry>
<title>Oops, part of the old tar support fix is in lib, check that in too.</title>
<updated>2019-10-03T18:21:41+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-10-03T18:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=46c40a7adee50a92a3eb8ed1d94ac2c9aa72591f'/>
<id>urn:sha1:46c40a7adee50a92a3eb8ed1d94ac2c9aa72591f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get exit code right when command intercepts signal, make timeout use</title>
<updated>2019-09-18T19:09:34+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-09-18T19:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=03b79265b572ca98ff2d07ad68e130dd8f64636f'/>
<id>urn:sha1:03b79265b572ca98ff2d07ad68e130dd8f64636f</id>
<content type='text'>
xwaitpid(), fix off by one in xwaitpid().
</content>
</entry>
<entry>
<title>xargs: add --max-args synonym, -o option, and fix -p.</title>
<updated>2019-08-27T02:54:44+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-08-18T03:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=0ec6b113985f4470e021f84b216c1b98e1e194ad'/>
<id>urn:sha1:0ec6b113985f4470e021f84b216c1b98e1e194ad</id>
<content type='text'>
The Linux kernel uses the --max-args synonym for -n.

Barbarians who use vi need xargs' -o to be able to do something like:

  find -name xargs.c | xargs vi      # Sad vi.
  find -name xargs.c | xargs -o vi   # Happy vi.

The -p option needs fixing to read from /dev/tty because stdin is
otherwise occupied in xargs. I think xargs is the only place that needs
this, so it didn't seem sensible to make all callers to yesno() be
specific about which they wanted, hence the new function.

Also remove the documentation for the build-time XARGS_PEDANTIC option
which isn't actually implemented.

Also add a TODO for -P (which is used by at least one script in the
Linux kernel).
</content>
</entry>
<entry>
<title>Try to make ls failure more graceful. Print ? ? ? entries instead of error msg.</title>
<updated>2019-08-27T02:25:42+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-08-27T02:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=c26870dab3462c6176936384b090df6b9ba46dee'/>
<id>urn:sha1:c26870dab3462c6176936384b090df6b9ba46dee</id>
<content type='text'>
Tweak DIRTREE_STATLESS so it returns zero stat for any error (I'm testing
that dev, ino, and blksize are all zero), and fill in file type from readdir()
</content>
</entry>
<entry>
<title>Add xgetline (which the last sh checkin used, oops).</title>
<updated>2019-08-21T22:35:29+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-08-21T22:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=7d142c2c6e6b8d5ae62351dbab23967b78f12336'/>
<id>urn:sha1:7d142c2c6e6b8d5ae62351dbab23967b78f12336</id>
<content type='text'>
</content>
</entry>
<entry>
<title>linestack.c: fix buffer length.</title>
<updated>2019-08-15T10:40:47+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-08-15T01:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=7be8f6224ecc25eecb2bafd17b64dd84a1088492'/>
<id>urn:sha1:7be8f6224ecc25eecb2bafd17b64dd84a1088492</id>
<content type='text'>
GCC 8.2 (which my laptop appears to have been quietly upgraded to)
points out that the %04X of an int might actually take 8 characters;
between that, the "U+", and the trailing NUL, we're gonna need a
bigger boat...
</content>
</entry>
<entry>
<title>sort: move off get_rawline.</title>
<updated>2019-08-12T09:44:00+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-08-10T16:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=30cb3aa0e33daa20d6adb0825979f79e615c9c47'/>
<id>urn:sha1:30cb3aa0e33daa20d6adb0825979f79e615c9c47</id>
<content type='text'>
This was the last user of get_rawline, which lets us remove it.
</content>
</entry>
</feed>
