From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Clean up overly paranoid checks in mac8.c
Date: Wed, 15 Mar 2017 23:38:16 -0400
Message-ID: <20683.1489635496@sss.pgh.pa.us> (raw)
In-Reply-To: <20566.1489635344@sss.pgh.pa.us>
References: <E1coM1I-0004lK-Cf@gemulon.postgresql.org>
<20566.1489635344@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
I wrote:
> Stephen Frost <sfrost@snowman.net> writes:
>> Clean up overly paranoid checks in mac8.c
> termite thinks this wasn't quite right.
On looking at it a bit more closely, I think you've forgotten that
"char" is signed on some platforms and unsigned on others. I'd
suggest putting explicit casts to unsigned char into these tests.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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, sfrost@snowman.net
Subject: Re: pgsql: Clean up overly paranoid checks in mac8.c
In-Reply-To: <20683.1489635496@sss.pgh.pa.us>
References: <E1coM1I-0004lK-Cf@gemulon.postgresql.org> <20566.1489635344@sss.pgh.pa.us> <20683.1489635496@sss.pgh.pa.us>
* 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