<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/editors/patch.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-04-16T11:30:23+00:00</updated>
<entry>
<title>patch: improved handling of files with no final newline</title>
<updated>2026-04-16T11:30:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-04-16T11:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ed1d5d344cb9991916bc538d30182cae875079f'/>
<id>urn:sha1:2ed1d5d344cb9991916bc538d30182cae875079f</id>
<content type='text'>
Commit 2275a53f0 (patch: handle files with no final newline) was
incomplete.  It only detected a line with no newline in the first
section of a hunk.  Add the code necessary to detect the '\ No
newline at end of file' warning in the second section.

Also add some tests.

Adds 48-80 bytes.

(GitHub issue #575)
</content>
</entry>
<entry>
<title>patch: handle files with no final newline</title>
<updated>2026-04-14T12:55:57+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-04-14T12:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2275a53f044fc7a437d35dc237f68be2cefd40da'/>
<id>urn:sha1:2275a53f044fc7a437d35dc237f68be2cefd40da</id>
<content type='text'>
The 'patch' applet was unable to process diffs which included the
'\ No newline at end of file' warning.

Detect this case and mark the lines affected so they can be
emitted without a newline.

Adds 45-69 bytes.

(GitHub issue #575)
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: style fix</title>
<updated>2022-08-30T14:41:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-08-30T14:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fe73c8d55795a8fe7e95fc2c00af6899817b96b8'/>
<id>urn:sha1:fe73c8d55795a8fe7e95fc2c00af6899817b96b8</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: shrink lineedit_read_key()</title>
<updated>2022-01-17T23:36:42+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-01-17T23:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1e825acf8d715fe49af040cb02f9e96c26955832'/>
<id>urn:sha1:1e825acf8d715fe49af040cb02f9e96c26955832</id>
<content type='text'>
function                                             old     new   delta
lineedit_read_key                                    237     231      -6

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>help text: replace [OPTIONS] with actual options (if not too long)</title>
<updated>2020-12-13T21:34:05+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-13T21:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=84d5eddb25930ee8a5ff96536ca6f707d793eb24'/>
<id>urn:sha1:84d5eddb25930ee8a5ff96536ca6f707d793eb24</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       33620   33665     +45

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>randomconfig fixes</title>
<updated>2020-06-23T19:28:19+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-23T19:28:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a'/>
<id>urn:sha1:5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: update size information</title>
<updated>2018-12-28T02:20:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-28T02:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b097a84d62dcfcf201a695b54bcfafae70cac8a6'/>
<id>urn:sha1:b097a84d62dcfcf201a695b54bcfafae70cac8a6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: implement --dry-run</title>
<updated>2018-04-14T14:05:26+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-14T14:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=75568354f6e2ab08302085bbcb32c3368c49b86f'/>
<id>urn:sha1:75568354f6e2ab08302085bbcb32c3368c49b86f</id>
<content type='text'>
function                                             old     new   delta
static.patch_longopts                                  -     137    +137
patch_main                                          2053    2135     +82
fail_hunk                                            132     139      +7
finish_oldfile                                       119     124      +5
packed_usage                                       32807   32787     -20
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/1 up/down: 231/-20)           Total: 211 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>regularize format of source file headers, no code changes</title>
<updated>2017-09-18T14:28:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-09-18T14:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5'/>
<id>urn:sha1:0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
