<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/lib, branch 0.0.2</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=0.0.2</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=0.0.2'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2007-01-25T21:11:23+00:00</updated>
<entry>
<title>Update args.c to implement numeric arguments.</title>
<updated>2007-01-25T21:11:23+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-25T21:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=028a54424e08cb8bf88bd2014ffd7d485f15ba51'/>
<id>urn:sha1:028a54424e08cb8bf88bd2014ffd7d485f15ba51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The fdlength() ioctl apparently doesn't work on files (and the lseek trick</title>
<updated>2007-01-25T21:10:37+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-25T21:10:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=b3a3382abf49573ba1f79d22417e9fc50125d28d'/>
<id>urn:sha1:b3a3382abf49573ba1f79d22417e9fc50125d28d</id>
<content type='text'>
doesn't work on some devices, and we can't always tell _when_ it failed), so
go to the binary search for now.
</content>
</entry>
<entry>
<title>More random progress on mke2fs.  Nothing to see yet.</title>
<updated>2007-01-23T18:20:38+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-23T18:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=e2580dbebbd43f668913b3d2ae6c0636161636ed'/>
<id>urn:sha1:e2580dbebbd43f668913b3d2ae6c0636161636ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "echo".  Has -n and -e (but not \0123 yet).</title>
<updated>2007-01-20T23:04:20+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-20T23:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=24d1d45ee901e74b3388e7053543eb16aea09ada'/>
<id>urn:sha1:24d1d45ee901e74b3388e7053543eb16aea09ada</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge a memset with an existing loop, tweak comments.</title>
<updated>2007-01-20T17:30:19+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-20T17:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=125a2c74f2ef9438b09930b208dd88bf7538bac8'/>
<id>urn:sha1:125a2c74f2ef9438b09930b208dd88bf7538bac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge two similar loops and expand a comment.</title>
<updated>2007-01-19T21:31:11+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-19T21:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=94515a2803d8db4b5a0c1cc51554f79a98803891'/>
<id>urn:sha1:94515a2803d8db4b5a0c1cc51554f79a98803891</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Another suggestion from Manuel: Grab 2 bits instead of 1 inside a loop.  Saves</title>
<updated>2007-01-19T21:01:54+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-19T21:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=59b301786890b909d64ddc61e279394184fd57d7'/>
<id>urn:sha1:59b301786890b909d64ddc61e279394184fd57d7</id>
<content type='text'>
4 bytes and reduces running time by one half of one percent.
</content>
</entry>
<entry>
<title>In bunzip replace setjmp/longjmp handling with error_exit(), replace string</title>
<updated>2007-01-19T03:00:12+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-19T03:00:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=6000f13e8ac8c17c1f01fcafc8066bb7b419f224'/>
<id>urn:sha1:6000f13e8ac8c17c1f01fcafc8066bb7b419f224</id>
<content type='text'>
based handling of a 6-byte header with with two 24-bit integer reads.  Use
xmalloc() and xzalloc().
</content>
</entry>
<entry>
<title>Add fdprintf().  Remove reread() and rewrite() which handle -EINTR, which</title>
<updated>2007-01-19T02:54:08+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-19T02:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=901637760b4206e968e73dd5ff7430c107c27b57'/>
<id>urn:sha1:901637760b4206e968e73dd5ff7430c107c27b57</id>
<content type='text'>
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART)
Straighten out count and len (I generally consistently use "count" for the
current progress and "len" for the total, but this time I got them backwards
for some reason and don't want to confuse myself in future.)
</content>
</entry>
<entry>
<title>More optimizations originally suggested by Manuel Nova: Use a sentinel value</title>
<updated>2007-01-18T23:16:11+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2007-01-18T23:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=813840c9d199bf9e26d23291cf23e22a68e8ad82'/>
<id>urn:sha1:813840c9d199bf9e26d23291cf23e22a68e8ad82</id>
<content type='text'>
for limit[] to move a test out of a loop.  Unroll a single-bit get_bits()
to avoid a function call in the common case on a hot path.  And one more
application of the old "two tests in one via typecasting and/or math" trick.
</content>
</entry>
</feed>
