<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/lib, branch 0.8.3</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=0.8.3</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=0.8.3'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2020-05-06T02:50:49+00:00</updated>
<entry>
<title>Fix 32 bit option parsing for long long optflag values.</title>
<updated>2020-05-06T02:50:49+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-05-06T02:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=ef67aedfe62bd103a07d1f6e6a8264adf8fd799f'/>
<id>urn:sha1:ef67aedfe62bd103a07d1f6e6a8264adf8fd799f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Next round of shell work.</title>
<updated>2020-05-04T04:15:35+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-05-04T04:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=e9396994d328606ff436b87bea3a0321bba98809'/>
<id>urn:sha1:e9396994d328606ff436b87bea3a0321bba98809</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add unescape2(), migrate some unescape() users over.</title>
<updated>2020-04-14T00:45:09+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-04-14T00:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=71ae0e1617218820f405bbf79d5d5dc89d5772ee'/>
<id>urn:sha1:71ae0e1617218820f405bbf79d5d5dc89d5772ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move #include &lt;linux/*.h&gt; into individual commands, initialize struct</title>
<updated>2020-04-03T02:32:30+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-04-03T02:32:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=f79dc0cfb2ea534876c776684ec1f1a0a53078c6'/>
<id>urn:sha1:f79dc0cfb2ea534876c776684ec1f1a0a53078c6</id>
<content type='text'>
with memset() instead of = {}, and move TT.alarm to local variable.
</content>
</entry>
<entry>
<title>More shell plumbing. Redo of variable storage, add export.</title>
<updated>2020-04-02T07:58:42+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-04-02T07:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=e05d620a79575bc96155180e1efccd171452b82f'/>
<id>urn:sha1:e05d620a79575bc96155180e1efccd171452b82f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add rtcwake.</title>
<updated>2020-04-01T23:13:11+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2020-04-01T17:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=85b02bddc0389487eaa8936de38441a1f95e08ea'/>
<id>urn:sha1:85b02bddc0389487eaa8936de38441a1f95e08ea</id>
<content type='text'>
Some of the bringup folks are debugging RTC issues and asked for this.

Rather than duplicate the weird xtzset dance with mktime, I've factored
that out into a new xmktime that takes a boolean for whether to use UTC
or local time.

Otherwise, the slight cleanup of hwclock.c is entirely optional. The
only functional change there is that util-linux 2.34's hwclock uses ISO
time format, which is the usual toybox preference anyway, so I've
switched it over to that rather than ctime(3).

Bug: http://b/152042947
</content>
</entry>
<entry>
<title>Fix WARN_ONLY (and the one caller feeding it in the field it was checking).</title>
<updated>2020-03-18T07:20:52+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2020-03-18T07:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=0a3350f63148d08c6b5fb14d82196738fc413da9'/>
<id>urn:sha1:0a3350f63148d08c6b5fb14d82196738fc413da9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix get_block_device_size() for linux</title>
<updated>2020-03-12T16:57:19+00:00</updated>
<author>
<name>Greg Kaiser</name>
<email>gkaiser@google.com</email>
</author>
<published>2020-03-12T16:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=1a2449aa37baf27d61c4232545e90570c42f2e3b'/>
<id>urn:sha1:1a2449aa37baf27d61c4232545e90570c42f2e3b</id>
<content type='text'>
We were incorrectly passing a pointer to a pointer of an
unsigned long long, when we just wanted to pass a pointer
to the unsigned long long.  This is especially bad on 32-bit
systems, where we're then writing a 64-bits into a 32-bit value
within ioctl.

We fix this to pass a pointer to the unsigned long long.

Test: On 32-bit device, no longer see native crash from toybox
Bug: http://b/151311535
Signed-off-by: Elliott Hughes &lt;enh@google.com&gt;
</content>
</entry>
<entry>
<title>fdlength: device size is reported in bytes, not blocks.</title>
<updated>2020-03-12T02:50:25+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2020-03-12T02:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=42be28f77458618c128d32d9273f6eca7f73a971'/>
<id>urn:sha1:42be28f77458618c128d32d9273f6eca7f73a971</id>
<content type='text'>
The shift was a remnant from when BLKGETSIZE (which measures in
blocks) was being used on Linux. The Mac has two separate ioctls
for block count and block size, which we're already multiplying
together. And on Linux we're using BLKGETSIZE64, which returns a
result in bytes, not blocks. So lose the shift.
</content>
</entry>
<entry>
<title>Fix Mac build.</title>
<updated>2020-03-11T14:40:00+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2020-03-10T16:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=e400e605471a5bc6571623b4446c41bfc9eb4942'/>
<id>urn:sha1:e400e605471a5bc6571623b4446c41bfc9eb4942</id>
<content type='text'>
The recent re-enablement of the BLKGETSIZE64 code broke the Mac
build. Use the equivalent &lt;sys/disk.h&gt; ioctl() pair instead.
</content>
</entry>
</feed>
