[Top][All Lists]

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

Re: i guess we're frozen & stuff

From: Greg Troxel
Subject: Re: i guess we're frozen & stuff
Date: Tue, 11 Aug 2009 18:07:14 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix)

address@hidden (Ludovic Courtès) writes:

> Greg Troxel <address@hidden> writes:
>> #define NULL (void *)0
> This is under-parenthesized!
> Two actions to be taken:
>   1. Report a bug to your favorite libc maintainers.  ;-)

I think that's a legal value for NULL per C99.  Interestingly it has not
apparently caused other trouble.  We'll see what others say, and I can
see the point that having it parenthesized is defensive even if it's
legal as is.

>   2. Ask libunistring folks at
> to replace
>      "sizeof NULL" by "sizeof (NULL)" in `test-locale.c'.

I did, and this has been committed to their repo for gnulib.

Attachment: pgpTj1RY7iPLP.pgp
Description: PGP signature

reply via email to

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