<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Use NULL in vararg



Ralf Wildenhues <wildenhues@xxxxxxxxxxxxxxx> writes:

> Use NULL as null pointer in status_format_str in order to be 64bit
> clean.  (Strictly ANSI-C speaking, one would have to do (void*)0
> or (void*)NULL here, but in practice, this is sufficient).

OK, it may fix random character roulette on some 64bit systems, but it
will still bomb out on a lot of systems (SIGSEGV). %s and (void *)0
don't mix well unless you're using glibc.

-- 
Matthias Andree