bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: wget_wch problem


From: Thomas Dickey
Subject: RE: wget_wch problem
Date: Wed, 14 Jan 2004 15:46:02 -0500 (EST)

On Wed, 14 Jan 2004, Saravanan Bellan wrote:

> This is the output you requested,
>
> (gdb) bt
> #0  0xff3516e4 in __mbrtowc_dense_gb18030 ()
>    from /usr/lib/locale/zh_CN.GB18030/methods_zh_CN.GB18030.so.2
> #1  0x1da08 in wget_wch (win=0x6764c, result=0xffbef578)
>     at ../ncurses/./widechar/lib_get_wch.c:85
> #2  0x135f0 in main (argc=1, argv=0xffbef5f4) at wget.c:21
> (gdb) up
> #1  0x1da08 in wget_wch (win=0x6764c, result=0xffbef578)
>     at ../ncurses/./widechar/lib_get_wch.c:85
> 85                  status = mbrlen(buffer, count, &state);
> (gdb) print count
> $1 = 1
>
> This program works fine on gb18030 locale on linux(Redhat) platforms.

well, then it's not the obvious thing.  I'm not sure how to debug this.
That's the first call to mbrlen, so there's no interesting data to fix.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]