commit bash-20070719 snapshot

This commit is contained in:
Chet Ramey committed 2011-12-07 09:10:32 -05:00
1 parent 70694d2e64
commit aea33a6b25
3 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -578,7 +578,7 @@ _rl_read_mbstring (first, mb, mlen)
c = first;
memset (mb, 0, mlen);
for (i = 0; c > 0 && i < mlen; i++)
for (i = 0; c >= 0 && i < mlen; i++)
{
mb[i] = (char)c;
memset (&ps, 0, sizeof (mbstate_t));