OSDN Git Service

strings tests and bugfixes
authorIlya Kuzmich <ilya.kuzmich@gmail.com>
Mon, 29 May 2017 04:05:16 +0000 (07:05 +0300)
committerRob Landley <rob@landley.net>
Mon, 3 Jul 2017 01:28:47 +0000 (20:28 -0500)
commit24dfc146470aa8098c49f37a6f10a0687aa66c72
tree6e412a33e84a08f395335a609cbfd808e7262943
parentb8e0920c180f81f86f0888804445f67a2a76fe2b
strings tests and bugfixes

Fixes missing newline in output if last byte of the input is string.
Fixes one-off offset bug.
Adds strings tests.

Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com>
tests/strings.test [new file with mode: 0644]
toys/posix/strings.c