Hi Chet,
thanks for the patch. Tested both on x86
and sparc with no additional problem.
Sorry for inconvenience, it could have
been sorted out in patch 49.
Will this come out as patch 50?
Regards,
hnhn
Chet Ramey wrote:
Jan Hnatek wrote:
Chet Ramey wrote:
So what does the Solaris mbrtowc
rticular
test case - the value of wcwidth(wc) is -1 on x86
and 0 on sparc.
hnhn
--
Jan Hnatek
jan.hna...@sun.com
+++ bash-3.2/lib/readline/mbutil.c Thu Jun 25 08:36:51 2009
@@ -128,7 +128,7 @@
}
}
- if (find_non_zero)
+ if (find_non_zero && len)
{
tmp = mbrtowc (&wc, string + point, strlen (string + point), &ps);
while (tmp > 0 && wcwidth (wc)
Hi Chet,
thanks for your investigation, it works.
Is this a patch that would be officially released?
Regards,
hnhn
Chet Ramey wrote:
Jan Hnatek wrote:
Hi,
bash-3.2 on Solaris is suffering from the following bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=3743
(bash hangs sometimes
return 0;
+ }
+
point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count,
MB_FIND_NONZERO);
#if defined (VI_MODE)
--
Jan Hnatek
jan.hna...@sun.com