Subject: Re: CVS commit: src/gnu/dist/gettext/gettext-tools/src
To: None <riz@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 05/02/2005 01:52:52
In article <20050501162107.DB86D2DA27@cvs.netbsd.org>
riz@netbsd.org wrote:
> Modified Files:
> src/gnu/dist/gettext/gettext-tools/src: po-lex.c
>
> Log Message:
> Only test if a char is >= 0x00 when CHAR_MIN is < 0, so gcc doesn't
> warn about the comparison always being true. Fixes build for macppc
> target.
Isn't it better to test ((mbc->buf[0] & 0x80) == 0) for readability
if it checks control characters?
---
Izumi Tsutsui