diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-08-20 16:32:25 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-08-25 13:29:48 +1000 |
commit | 9818a3cd88578ffadb4ff3f5562e468e3b4b6f95 (patch) | |
tree | e248fcb1a3813313516f9e11e633f047e548358e /ui | |
parent | 1305a464f085200aa9adc77bcacfb1c771258c82 (diff) | |
download | petitboot-9818a3cd88578ffadb4ff3f5562e468e3b4b6f95.zip petitboot-9818a3cd88578ffadb4ff3f5562e468e3b4b6f95.tar.gz |
lib/fold: Handle extra mbrtowc return case
Commit 9781a370 ("Handle mblen return code when n is zero.") in glibc
changes the return value for when the number of bytes ('n') is zero.
Add an extra condition to detect if we've reached the end of the buffer.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions