diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-05-13 14:24:58 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-05-13 14:52:18 +0300 |
commit | 07930c5ee74b8d2645fc55465833ab84e2f4444a (patch) | |
tree | 45ca5b8b787987a9c6a5980bddd7d6db13e070c7 /include/wordsplit.h | |
parent | 3e07e3ad30e8a7a091e213eb4df839b7cf7f1e64 (diff) | |
download | grecs-07930c5ee74b8d2645fc55465833ab84e2f4444a.tar.gz grecs-07930c5ee74b8d2645fc55465833ab84e2f4444a.tar.bz2 |
wordsplit: return single empty string on empty input in WRDSF_NOSPLIT mode
* src/wordsplit.c (wordsplit_finish): Make sure at one non-null
argument is always returned in WRDSF_NOSPLIT mode.
* tests/wordsplit.at: Add new test.
Diffstat (limited to 'include/wordsplit.h')
0 files changed, 0 insertions, 0 deletions