Subject: Re: [Bug-tar] bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X

From: Joerg Schilling <[email-masked]>
Date: Wed, 27 Nov 2013 17:30:49 +0100

Pádraig Brady <[email-masked]> wrote:

> On 11/26/2013 10:53 AM, Joerg Schilling wrote:
> > 
> > Are you using "ignore_value" because of the gcc bug that ignores the official
> > method to tell that the return code is ignored intentionally:
> > 
> > 	(void) write(fd, buf, len);
>
> Right: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/ignore-value.h;hb=HEAD
>
> I thought it marginally cleaner to use that,
> than to have a goto to just _exit() on write error.

Do you believe this is the right method to deal with the problem?
It will most likely prevent to create enough pressure on the GCC people to fix 
the current warning problem.

Jörg

-- 
 EMail:[email-masked] (home) Jörg Schilling D-13353 Berlin
       [email-masked]                (uni)  
       [email-masked] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily