[Top][All Lists]

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

Re: [Bug-gnulib] new gnulib modules c-strtod, c-strtold

From: Paul Eggert
Subject: Re: [Bug-gnulib] new gnulib modules c-strtod, c-strtold
Date: Mon, 09 Aug 2004 11:21:21 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Bruno Haible <address@hidden> writes:

>> +  locale_t c_locale = newlocale (LC_ALL_MASK, "C", 0);
> Isn't it more modern style to pass NULL instead of 0 when a null pointer is
> meant?

Yes.  It's no big deal either way but NULL is usually more readable.

Sorry, I got into the habit of writing 0 a few years ago when NULL
wasn't universally available, but now that we can assume C89 or better
I'll try to change my ways...

reply via email to

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