[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portability issue for error_tail().
From: |
Paul Eggert |
Subject: |
Re: Portability issue for error_tail(). |
Date: |
Thu, 18 Aug 2011 18:58:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
On 08/18/2011 06:11 PM, Mats Erik Andersson wrote:
> error (EXIT_FAILURE, EPERM, NULL);
>
> nothing serious will happen on GNU/Linux with Glibc,
My kneejerk reaction is that 'error' isn't documented
to treat NULL as the empty string, and that portable programs
should not pass a NULL format to 'error', so this is not
a gnulib bug.