• R
    fix longstanding exit logic bugs in mbsnrtowcs and wcsnrtombs · 485fb14a
    Rich Felker 提交于
    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.
    485fb14a
mbsnrtowcs.c 1.3 KB