bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Handling null pointers to printf


From: Bruno Haible
Subject: Re: [bug-gnulib] Handling null pointers to printf
Date: Tue, 30 May 2006 20:30:06 +0200
User-agent: KMail/1.5

Bruce Korb wrote:
> sometimes, I do want the seg fault.  So, how about selectable behavior?

If you want to always get a SEGV when the user passes a NULL argument, you
will have to arrange that through your code. POSIX doesn't guarantee you a
SEGV here.

90% of your users, at least, will be on glibc systems. On these systems
gnulib's code is not used, the glibc code is used. How would a configurable
behaviour of the gnulib code help you?

Bruno





reply via email to

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