pgsql: Fix header comment for bitncmp().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix header comment for bitncmp().
Дата
Msg-id E1VzWTu-0000jd-EL@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix typo in comment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix translatability markings in psql, and add defenses against f