<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/patch.tests, 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>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>patch: fix matching failure</title>
<updated>2016-11-24T10:40:36+00:00</updated>
<author>
<name>Aaro Koskinen</name>
<email>aaro.koskinen@iki.fi</email>
</author>
<published>2016-11-21T22:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cb810c48c036f50c19b08df7e161cdb0550a2abd'/>
<id>urn:sha1:cb810c48c036f50c19b08df7e161cdb0550a2abd</id>
<content type='text'>
Fix matching failure when plist is advanced while checking for buffered
lines - the lines in the hunk that are about to be added should be
skipped when checking for matching context.

Also add a valid test case that fails with current busybox and is fixed
by the change.

Signed-off-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: make -p count path components, not slashes (think /blah//thing)</title>
<updated>2011-10-10T17:59:38+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2011-10-10T17:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=39ec6a2ad5dae93c125b766eb8e705742216797a'/>
<id>urn:sha1:39ec6a2ad5dae93c125b766eb8e705742216797a</id>
<content type='text'>
Signed-off-by: Rob Landley &lt;rob@landley.net&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: make it able to create files (again)</title>
<updated>2011-08-22T02:58:32+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2011-08-22T02:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c5f7847659ccddd27c99b300e01f36516326aa3a'/>
<id>urn:sha1:c5f7847659ccddd27c99b300e01f36516326aa3a</id>
<content type='text'>
I broke patch's ability to create files in November, and nobody noticed in
the ensuing 11 months.  Sigh.

Signed-off-by: Rob Landley &lt;rob@landley.net&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: add a test we currently fail</title>
<updated>2011-08-16T20:57:12+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-08-16T20:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf'/>
<id>urn:sha1:9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>add a test for patch which we currently fail</title>
<updated>2010-11-28T00:41:40+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-11-28T00:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fe9403ad17d6cac5984fcb9b9e18ed755898afff'/>
<id>urn:sha1:fe9403ad17d6cac5984fcb9b9e18ed755898afff</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: busyboxify by migrating from toybox to busybox helpers</title>
<updated>2010-11-21T04:53:34+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-11-21T04:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b82ae98ea4d5216d20a5deedab2aa6153562337b'/>
<id>urn:sha1:b82ae98ea4d5216d20a5deedab2aa6153562337b</id>
<content type='text'>
function                                             old     new   delta
get_line                                              90     128     +38
bbconfig_config_bz2                                 4959    4965      +6
makedevs_main                                       1038    1035      -3
fail_hunk                                            133     130      -3
finish_oldfile                                       174     124     -50
patch_main                                          2066    1987     -79
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/4 up/down: 44/-135)           Total: -91 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>patch: support "patch [FILE [PATCH]]" format</title>
<updated>2010-08-22T03:39:15+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-08-22T03:39:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e7b0a9e5bc60617fb00c321430253d7771d40fd3'/>
<id>urn:sha1:e7b0a9e5bc60617fb00c321430253d7771d40fd3</id>
<content type='text'>
function                                             old     new   delta
xopen_stdin                                            -      15     +15
patch_main                                          2075    2041     -34

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: make GNU licensing statement forms more regular</title>
<updated>2010-08-16T18:14:46+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-08-16T18:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a'/>
<id>urn:sha1:0ef64bdb40c54681e8dd5ab8df42ac88e4ab1d4a</id>
<content type='text'>
This change retains "or later" state! No licensing _changes_ here,
only form is adjusted (article, space between "GPL" and "v2" and so on).

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
