[avahi] Problem with avahi-test on Solaris
Ludovic Courtès
ludovic.courtes at laas.fr
Mon Jul 10 02:49:18 PDT 2006
Hi,
Lennart Poettering <lennart at poettering.net> writes:
> It's definitely not easy to fix this in avahi_log_debug(), because
> you'd have to go through all the arguments and deduce from the format
> string if they are meant to be pointers. This sounds like a lot of
> work.
Actually, there's nothing in the ANSI C99 standard (Section 7.19.6.1,
item 8) specifying the behavior of `printf' when passed NULL `%s'
pointers. Issuing the string "null" is a glibc-specific behavior.
Thus, it looks like the patch (or something equivalent) should be
applied.
Thanks,
Ludovic.
More information about the avahi
mailing list