From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Clean up overly paranoid checks in mac8.c
Date: Wed, 15 Mar 2017 23:39:49 -0400
Message-ID: <20170316033949.GI9812@tamriel.snowman.net> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> 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.
Right, going through it now and adjusting things to be more careful
about that.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Clean up overly paranoid checks in mac8.c
In-Reply-To: <20170316033949.GI9812@tamriel.snowman.net>
References: <E1coM1I-0004lK-Cf@gemulon.postgresql.org> <20566.1489635344@sss.pgh.pa.us> <20683.1489635496@sss.pgh.pa.us> <20170316033949.GI9812@tamriel.snowman.net>
* 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