[Toybox] [PATCH] Revert "Don't strlen() potentially long target string each call to strstart()."

enh enh at google.com
Fri Oct 11 13:54:23 PDT 2019


This reverts commit 068b12adfb4577b8e732f56e979017cd690baec5.

That commit broke a lot of tests, especially on systems using toybox dd,
where bs= no longer works:

  taimen:/ # dd if=/dev/zero bs=1000 count=1000
  dd: not integer: bs=1000
---
 lib/lib.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Revert-Don-t-strlen-potentially-long-target-string-e.patch
Type: text/x-patch
Size: 1112 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20191011/2dbb1edf/attachment-0002.bin>


More information about the Toybox mailing list