Source-Changes archive

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

Re: CVS commit: src/gnu/dist/gettext/gettext-tools/src



In article <20050501162107.DB86D2DA27%cvs.netbsd.org@localhost>
riz%netbsd.org@localhost 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



Home | Main Index | Thread Index | Old Index