NEdit + OM 2.3.0 segfault?
Peter Kovář
peter.kovar at gmail.com
Wed Sep 5 23:43:22 CEST 2007
Attached 1 line patch fixes the problem in new UTF-8 related code in OM
2.3.0 library. In this patrticular case function Convert(..., to_codeset
"UTF-8", from_codeset "BOLD") is called with wrong parameter which in
turn causes iconv_open(to_codeset "UTF-8", from_codeset "BOLD") to
return -1 as an error indicator.
On Ut, 2007-08-21 at 09:28 -0400, Scott Tringali wrote:
> Andrew Hood wrote:
>
> > You can stop the SEGV by commenting out:
> >
> > if(IsTopDocument(win))
> > tag = "BOLD";
>
> True. I wonder if there's a Motif 2 way of doing what we want here, that
> would avoid the crash.
More information about the Develop
mailing list