summaryrefslogtreecommitdiff
path: root/src/multibyte/wcsnrtombs.c
AgeCommit message (Collapse)AuthorLines
2012-05-02fix longstanding exit logic bugs in mbsnrtowcs and wcsnrtombsRich Felker-4/+5
these are POSIX 2008 (previously GNU extension) functions that are rarely used. apparently they had never been tested before, since the end-of-string logic was completely missing. mbsnrtowcs is used by modern versions of bash for its glob implementation, and and this bug was causing tab completion to hang in an infinite loop.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+51