[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash i
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X] |
Date: |
Wed, 27 Nov 2013 17:53:42 +0100 |
User-agent: |
nail 11.22 3/20/05 |
Eric Blake <address@hidden> wrote:
> On 11/27/2013 09:30 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);
>
> The C standard does not document that '(void) write(...)' is required to
> avoid diagnostics, so I don't see the gcc behavior as a bug (yes, it's
> annoying behavior, but that doesn't make it incorrect behavior).
Well, there is a more than 30 year history of lint that causes
'(void) write(...)' to be accepted without a warning.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
- [Bug-tar] Crash in gettext() after fork() on Mac OS X, Guillem Jover, 2013/11/23
- Re: [Bug-tar] Crash in gettext() after fork() on Mac OS X, Eric Blake, 2013/11/23
- Re: [Bug-tar] Crash in gettext() after fork() on Mac OS X, Paul Eggert, 2013/11/24
- Re: [Bug-tar] bug#15970: Crash in gettext() after fork() on Mac OS X, Joerg Schilling, 2013/11/26
- Re: [Bug-tar] bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X, Pádraig Brady, 2013/11/26
- Re: [Bug-tar] bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X, Joerg Schilling, 2013/11/27
- [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Eric Blake, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X],
Joerg Schilling <=
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Eric Blake, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Joerg Schilling, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Eric Blake, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Paul Eggert, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Charles Swiger, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Paul Eggert, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Eric Blake, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Charles Swiger, 2013/11/27
- Re: [Bug-tar] ignore_value vs (void) [was: bug#15970: bug#15970: Crash in gettext() after fork() on Mac OS X], Eric Blake, 2013/11/27
- Re: [Bug-tar] bug#15970: Crash in gettext() after fork() on Mac OS X, Jim Meyering, 2013/11/26