]> granicus.if.org Git - postgresql/commit
Fix header comment for bitncmp().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Jan 2014 19:01:51 +0000 (14:01 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Jan 2014 19:01:51 +0000 (14:01 -0500)
commit5858cf8ab2c7a186fab050725992d6ef640e38a5
tree58cc782fad5ea88bfe9e08ff49de79d3ac44af06
parent9929975666904bcad6df5cb8fe73451fd4910621
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.
src/backend/utils/adt/network.c