pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Suppress -Wunused-result warnings about write(), again.
Date: Fri, 03 Jun 2016 15:29:49 +0000
Message-ID: <E1b8r2j-0002fl-CO@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Suppress -Wunused-result warnings about write(), again.

Adopt the same solution as in commit aa90e148ca70a235, but this time
let's put the ugliness inside the write_stderr() macro, instead of
expecting each call site to deal with it.  Back-port that decision
into psql/common.c where I got the macro from in the first place.

Per gripe from Peter Eisentraut.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/53c2601a59fc18bd33713162504401f7fec2e2f2

Modified Files
--------------
src/bin/pg_dump/parallel.c | 14 ++++++++++++--
src/bin/psql/common.c      | 26 +++++++++++++++-----------
2 files changed, 27 insertions(+), 13 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (5+ messages)

Message-ID: <E1b8r2j-0002fl-CO@gemulon.postgresql.org>
Permalink:  ../E1b8r2j-0002fl-CO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1b8r2j-0002fl-CO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress -Wunused-result warnings about write(), again.
  In-Reply-To: <E1b8r2j-0002fl-CO@gemulon.postgresql.org>
  References: <E1b8r2j-0002fl-CO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox