diff options
author | Rob Landley <rob@landley.net> | 2015-10-29 01:30:58 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-10-29 01:30:58 -0500 |
commit | 8132ad2f4ec9b463ed954a302e9e490b549b106a (patch) | |
tree | 66f7647b93f7245c8ad9f4dc03d298a4444f45d6 /lib/llist.c | |
parent | da646636382e5830650e725592d10cec587081f7 (diff) | |
download | toybox-8132ad2f4ec9b463ed954a302e9e490b549b106a.tar.gz |
Fix sed bug reported by Isabella Parakiss, where sed -e "/x/c\" -e "y" added
an extra newline because the test for whether we have an existing string to
append a newline to was checking if struct step had data appended to it,
and the /x/ regex is data appended to it. Change test to check for null
terminator at ->arg1 offset.
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions