Until r10938, string-to-integer conversion was possible even when the
string contained more than one space before the start of the integer.
This patch modifies src/string.t to make this work again.
This patch also modifies t/op/string.t to add a test for this case, and
for other corner-cases of string-to-integer conversion.
$ diffstat s2i.patch
src/string.c | 4 +++-
t/op/string.t | 26 +++++++++++++++++++++++++-
2 files changed, 28 insertions(+), 2 deletions(-)
Regards,
Roger Browne
Thanks, applied - r11042.
leo