aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-04-16 12:30:23 +0100
committerRon Yorston <rmy@pobox.com>2026-04-16 12:30:23 +0100
commit2ed1d5d344cb9991916bc538d30182cae875079f (patch)
treead3e8cd29284553cda5ff5cc8967e844b5b5e723 /scripts
parent98e09f1c6221a88fb42fd37019a9e5e8482d2654 (diff)
downloadbusybox-w32-2ed1d5d344cb9991916bc538d30182cae875079f.tar.gz
busybox-w32-2ed1d5d344cb9991916bc538d30182cae875079f.tar.bz2
busybox-w32-2ed1d5d344cb9991916bc538d30182cae875079f.zip
patch: improved handling of files with no final newline
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)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions