pgsql: Fix unportable code in SockAddr_cidr_mask: you can't assume that

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix unportable code in SockAddr_cidr_mask: you can't assume that
Date: 2004-11-08 01:54:59
Message-ID: 20041108015459.95CAF3A3E68@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix unportable code in SockAddr_cidr_mask: you can't assume that
shifting left by full word width gives zero. Per bug report from
Tyson Thomson.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/libpq:
ip.c (r1.23.2.1 -> r1.23.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/ip.c.diff?r1=1.23.2.1&r2=1.23.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-08 04:02:27 pgsql: Kris Jurka pointed out that the qualified_name production wasn't
Previous Message Tom Lane 2004-11-08 01:54:41 pgsql: Fix unportable code in SockAddr_cidr_mask: you can't assume that