<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/coreutils, branch waitfor</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=waitfor</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=waitfor'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-07-08T13:32:00+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2026-07-08T13:32:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-08T13:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4afa250a0b2d9a5f20176b3a47b0a34bb87b7790'/>
<id>urn:sha1:4afa250a0b2d9a5f20176b3a47b0a34bb87b7790</id>
<content type='text'>
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: code shrink by making some variables "global"</title>
<updated>2026-07-08T12:38:07+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2026-07-08T12:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8f0533c576964c99e0d9d573942d845122d56863'/>
<id>urn:sha1:8f0533c576964c99e0d9d573942d845122d56863</id>
<content type='text'>
function                                             old     new   delta
readfields                                           442     437      -5
printfields                                          462     457      -5
join_main                                            843     760     -83
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-93)             Total: -93 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>join: new applet</title>
<updated>2026-07-08T05:01:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-06T07:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a058289401f801f89fd375f500c82014e7635205'/>
<id>urn:sha1:a058289401f801f89fd375f500c82014e7635205</id>
<content type='text'>
function                                             old     new   delta
join_main                                              -     843    +843
printfields                                            -     462    +462
readfields                                             -     442    +442
.rodata                                           107120  107332    +212
packed_usage                                       36078   36237    +159
applet_names                                        2870    2875      +5
applet_main                                         1652    1656      +4
------------------------------------------------------------------------------
(add/remove: 4/0 grow/shrink: 4/0 up/down: 2127/0)           Total: 2127 bytes
   text	   data	    bss	    dec	    hex	filename
1080964	    555	   4992	1086511	 10942f	busybox_old
1083091	    555	   4992	1088638	 109c7e	busybox_unstripped

v2: Add a missing return statement which broke the '-t' option.
    Thanks to Roberto A. Foglietta for pointing this out.

Signed-off-by: Morgan Bartlett &lt;mjmouse9999@gmail.com&gt;
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>join: re-add accidentally removed return</title>
<updated>2026-07-06T06:52:19+00:00</updated>
<author>
<name>mbartlett21</name>
<email>mjmouse9999@gmail.com</email>
</author>
<published>2026-07-06T00:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b5c1253a8a0e4e9a7cfe92a7c0329165f706e760'/>
<id>urn:sha1:b5c1253a8a0e4e9a7cfe92a7c0329165f706e760</id>
<content type='text'>
It broke single-character splitting
</content>
</entry>
<entry>
<title>join: code shrink (5)</title>
<updated>2026-07-05T13:56:57+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-05T09:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=106e55d01252b0550b5742f7d41cb26b44d0d3dc'/>
<id>urn:sha1:106e55d01252b0550b5742f7d41cb26b44d0d3dc</id>
<content type='text'>
Add a freelines() function to free the line data associated with
an FDAT struct.  This has no effect in the default build but saves
48-64 bytes if FEATURE_CLEAN_UP is enabled.

Change the type of the 'first' flag in readfields() to be consistent
with that in printfields().

The 'lines' array should be freed for each FDAT struct during clean
up, as it was before I broke it.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: changes</title>
<updated>2026-07-05T09:51:07+00:00</updated>
<author>
<name>mbartlett21</name>
<email>mjmouse9999@gmail.com</email>
</author>
<published>2026-07-04T11:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4c742d398aff1dc7ad9336c7e811194774eb7a88'/>
<id>urn:sha1:4c742d398aff1dc7ad9336c7e811194774eb7a88</id>
<content type='text'>
Fix combinatorial

field_split() now takes in LINE as a parameter, rather than just the
fields parameter.

Saves 16 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: code shrink (4)</title>
<updated>2026-07-03T13:54:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-03T13:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d58fec2ae013f00f86dee5ce26b259761c63fffd'/>
<id>urn:sha1:d58fec2ae013f00f86dee5ce26b259761c63fffd</id>
<content type='text'>
The user supplies field numbers with the -o, -1 and -2 options.
It feels more natural to convert these to 0-based field indices
in the code.

Saves 32-48 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: code shrink (3)</title>
<updated>2026-07-03T13:40:27+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-03T12:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=696758b57738090390df9c2619c3cc5206e74146'/>
<id>urn:sha1:696758b57738090390df9c2619c3cc5206e74146</id>
<content type='text'>
When splitting the fields of a line, keep the string allocated
for the line and make the 'fields' array point into it rather
than allocating a new string for each field.

Saves 48 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: code shrink (2)</title>
<updated>2026-07-03T11:39:20+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-07-03T11:39:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=00cf32a21dba0187ece976bc9d33e4a8a8af8875'/>
<id>urn:sha1:00cf32a21dba0187ece976bc9d33e4a8a8af8875</id>
<content type='text'>
Reduce the amount of duplicated code in readfields() by handling
a pushed back line inside the main loop, with a flag to indicate
the first pass through the loop.

Replace some memcpy() calls with structure assignments.

Fix a bug in the code to increase the size of the 'lines' array.
It set the capacity to either 8 or 0.

Saves 112-128 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>join: code shrink</title>
<updated>2026-06-30T08:07:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-06-30T08:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b2fcbec6605532b7fa9a6e004bab7f731e956913'/>
<id>urn:sha1:b2fcbec6605532b7fa9a6e004bab7f731e956913</id>
<content type='text'>
Adopt some BusyBox idioms in join_main().  In particular:

- The '-a' and '-v' options are mutually exclusive. Enforce this
  in getopt32() instead of by hand.  Also, since they're mutually
  exclusive we don't need a distinct list for each.

- Control some clean-up code with ENABLE_FEATURE_CLEAN_UP.

There are also a few cosmetic changes.

Saves 204-256 bytes.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
</feed>
