summaryrefslogtreecommitdiff
path: root/usr.sbin/accton
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-17 15:29:20 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-17 15:29:20 +0000
commit0dfa92616ec7892ce1d1e19ba6849357b0c550e7 (patch)
tree4a632a04faa79a21e170051514bc742f3110f5fd /usr.sbin/accton
parentb7f880ec6f58461e81df2c30565b3d27cf217081 (diff)
Rewrite the main loop of the "sed s/..." command, to fix multiple
issues regarding the replacement of zero-length strings. This commit brings back rev. 1.16, but without the regression that forced the backout: No NUL bytes will be output now, not even when the input file lacks a trailing newline character and there is a zero-length match at the end. OK otto@ deraadt@; and naddy@ (who originally found the regression) checked that the regression is indeed fixed.
Diffstat (limited to 'usr.sbin/accton')
0 files changed, 0 insertions, 0 deletions