bug-gnulib
[Top][All Lists]
Advanced

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

Re: Patch 2/3 for topic/libposix


From: Paul Eggert
Subject: Re: Patch 2/3 for topic/libposix
Date: Thu, 11 Nov 2010 19:02:25 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 11/11/2010 05:09 PM, Bruce Korb wrote:
> This patch modifies lib/error.c so that should someone
> call it without having set program_name, then a message
> is printed and abort() called instead of seg faulting.

It's not clear that this is a win.  The current code,
in glibc and in most other C libraries, doesn't segfault if you don't set the
program name, and people might prefer this to an abrupt termination.

I agree with Eric that there must be a less-intrusive way to make
the change, assuming people want it.  There should be no need
for that #ifdef HPUX, among other things.



reply via email to

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