summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-08-20 16:32:25 +1000
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-08-25 13:29:48 +1000
commit9818a3cd88578ffadb4ff3f5562e468e3b4b6f95 (patch)
treee248fcb1a3813313516f9e11e633f047e548358e /ui
parent1305a464f085200aa9adc77bcacfb1c771258c82 (diff)
downloadtalos-petitboot-9818a3cd88578ffadb4ff3f5562e468e3b4b6f95.tar.gz
talos-petitboot-9818a3cd88578ffadb4ff3f5562e468e3b4b6f95.zip
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
OpenPOWER on IntegriCloud