1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Official patch 001

This commit is contained in:
Andrey A. Chernov 2006-12-31 09:45:18 +00:00
parent 1c08c2b3fd
commit a05ab6e2bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/libreadline/dist/; revision=165678

View File

@ -2380,6 +2380,8 @@ _rl_col_width (str, start, end)
if (end <= start)
return 0;
if (MB_CUR_MAX == 1 || rl_byte_oriented)
return (end - start);
memset (&ps, 0, sizeof (mbstate_t));