From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix header comment for bitncmp(). |
Date: | 2014-01-04 19:01:58 |
Message-ID: | E1VzWTu-0000jd-EL@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix header comment for bitncmp().
The result is an int less than, equal to, or greater than zero, in the
style of memcmp (and, in fact, exactly the output of memcmp in some cases).
This comment previously said -1, 1, or 0, which was an overspecification,
as noted by Emre Hasegeli. All of the existing callers appear to be fine
with the actual behavior, so just fix the comment.
In passing, improve infelicitous formatting of some call sites.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5858cf8ab2c7a186fab050725992d6ef640e38a5
Modified Files
--------------
src/backend/utils/adt/network.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-01-04 21:05:43 | pgsql: Fix translatability markings in psql, and add defenses against f |
Previous Message | Tom Lane | 2014-01-04 18:49:01 | pgsql: Fix typo in comment. |