<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/editors, branch ucrt_hack</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=ucrt_hack</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=ucrt_hack'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-10-13T13:37:51+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-10-13T13:37:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-10-13T13:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ecf1aea459571b48dc68ddc2b7b9265740fa960'/>
<id>urn:sha1:0ecf1aea459571b48dc68ddc2b7b9265740fa960</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ed: align output of read/write commands with POSIX-1.2008</title>
<updated>2021-10-12T15:32:03+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2021-07-17T19:45:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c33bbcb92fc255e4bb058e64874289cdeb0701f9'/>
<id>urn:sha1:c33bbcb92fc255e4bb058e64874289cdeb0701f9</id>
<content type='text'>
POSIX.1-2008 mandates the following regarding the write command:

	If the command is successful, the number of bytes written shall
	be written to standard output, unless the -s option was
	specified, in the following format:

		"%d\n", &lt;number of bytes written&gt;

function                                             old     new   delta
readLines                                            447     409     -38
doCommands                                          1940    1889     -51
.rodata                                           104219  104163     -56
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-145)           Total: -145 bytes

Signed-off-by: Sören Tempel &lt;soeren+git@soeren-tempel.net&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-09-10T13:47:27+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-10T13:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3eb1d088e09db204f456ad7b76eced21e429f001'/>
<id>urn:sha1:3eb1d088e09db204f456ad7b76eced21e429f001</id>
<content type='text'>
</content>
</entry>
<entry>
<title>awk: never return NULL from awk_printf()</title>
<updated>2021-09-09T17:26:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-09T17:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=857800c65584d544242c54eb873129c23ba20265'/>
<id>urn:sha1:857800c65584d544242c54eb873129c23ba20265</id>
<content type='text'>
function                                             old     new   delta
awk_printf                                           651     628     -23

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: code shrink</title>
<updated>2021-09-09T17:13:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-09T17:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e60c56932ed95eb1c72b12d7404d42798da61bca'/>
<id>urn:sha1:e60c56932ed95eb1c72b12d7404d42798da61bca</id>
<content type='text'>
function                                             old     new   delta
awk_printf                                           652     651      -1

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: code shrink: avoid duplicate NUL checks and strlen()</title>
<updated>2021-09-09T16:58:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-09T16:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8a0adba9f67a661e0f2428bf43ae8da15f641ec0'/>
<id>urn:sha1:8a0adba9f67a661e0f2428bf43ae8da15f641ec0</id>
<content type='text'>
function                                             old     new   delta
awk_printf                                           665     652     -13

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: fix read beyond end of buffer</title>
<updated>2021-09-09T16:12:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-09T07:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=305a30d80b63e06d312c9d98ae73934ae143e564'/>
<id>urn:sha1:305a30d80b63e06d312c9d98ae73934ae143e564</id>
<content type='text'>
Commit 7d06d6e18 (awk: fix printf %%) can cause awk printf to read
beyond the end of a strduped buffer:

  2349      while (*f &amp;&amp; *f != '%')
  2350          f++;
  2351      c = *++f;

If the loop terminates because a NUL character is detected the
character after the NUL is read.  This can result in failures
depending on the value of that character.

function                                             old     new   delta
awk_printf                                           672     665      -7

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>awk: fix printf %%</title>
<updated>2021-09-05T01:42:51+00:00</updated>
<author>
<name>Daniel Thau</name>
<email>danthau@bedrocklinux.org</email>
</author>
<published>2021-09-02T11:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7d06d6e18651cb183a3723fa21ef62935ea08647'/>
<id>urn:sha1:7d06d6e18651cb183a3723fa21ef62935ea08647</id>
<content type='text'>
A refactor of the awk printf code in
e2e3802987266c98df0efdf40ad5da4b07df0113
appears to have broken the printf interpretation of two percent signs,
which normally outputs only one percent sign.

The patch below brings busybox awk printf behavior back into alignment
with the pre-e2e380 behavior, the busybox printf util, and other common
(awk and non-awk) printf implementations.

function                                             old     new   delta
awk_printf                                           626     672     +46

Signed-off-by: Daniel Thau &lt;danthau at bedrocklinux.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>vi: add fileformats option</title>
<updated>2021-08-30T08:16:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-30T07:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=420afde92eb83c8c19b856f45491568cfa04a625'/>
<id>urn:sha1:420afde92eb83c8c19b856f45491568cfa04a625</id>
<content type='text'>
Add a limited version of the 'fileformats' option.  Only the
'dos,unix' and 'unix,dos' settings are allowed with the former
as default.

When a file is read for editing its format is detected.  If it
only has LF line endings it's treated as being of type 'unix'
otherwise its type is 'dos'.

When an empty edit buffer is created it's given the first file
type listed in 'fileformats'.

The file type is stored in the read-only option 'fileformat'
and is used to select the appropriate line endings when the
file is written.

See GitHub issue #220.  Adds 168 bytes to the binary.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-08-30T07:37:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-30T07:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bdb10f66af52bbd4f9d9340f2cf8ca73adbaee91'/>
<id>urn:sha1:bdb10f66af52bbd4f9d9340f2cf8ca73adbaee91</id>
<content type='text'>
</content>
</entry>
</feed>
