[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:22272] Re: Wrong usage of ctype functions
From:       Hiroyuki Yamamoto <hiro-y () kcn ! ne ! jp>
Date:       2004-01-28 6:40:59
Message-ID: 20040128154059.554c0a28.hiro-y () kcn ! ne ! jp
[Download RAW message or body]

Hello,

On Tue, 27 Jan 2004 23:34:16 +0100
Christian Biere <christianbiere@gmx.de> wrote:

> I've noticed that sylpheed uses isgraph(), isdigit() etc. with
> variables of type gchar in several places. This is a bug. Either,
> prepend the check by an isascii() or cast the argument to guchar. You
> could also simply use the glib alternatives which can be used safely.

Fixed in CVS (and glib alternatives are only in glib-2.x).

-- 
Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
http://www.kcn.ne.jp/~hiro-y/index.cgi
http://sylpheed.good-day.net/ (Sylpheed)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic