[Top][All Lists]

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

Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8

From: Johannes Schindelin
Subject: Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character
Date: Sun, 14 Dec 2008 13:00:01 +0100 (CET)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)


Please Cc: me if you reply directly to me.

On Sun, 14 Dec 2008, Erik de Castro Lopo wrote:

> Johannes Schindelin wrote:
> > I vote against using isprint(c).  The code is simple as it is, 
> > otherwise you'd have to look up what isprint() does, _and_ rely on 
> > isprint() being present.
> > 
> > I know, there are many people on this list who are all too happy to 
> > rely on new-fangled C99 stuff or lock themselves (and others) in with 
> > GCCisms. Peronally, though, I find it utterly stupid to do that unless 
> > you really have to.
> isprint is part of C89 and any compiler less than 20 years old should
> support it.

Okay, so it is C89.  So what does it do exactly?  Yes, exactly you have to 
look it up.  Nice job.


P.S.: oh, so now the umlauts are not even printed when you are on an 
ISO-8859-1 console?  Nice job, again.

reply via email to

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