Wrong comment for bitncmp function in network.c

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Wrong comment for bitncmp function in network.c
Date: 2014-01-04 12:19:49
Message-ID: CAE2gYzx4dVxEpUcrUX6+Rxb=2ivVtrtoRPRKjfCRgcYqkX44Xg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am not sure it worth reporting but it took me a while to find out
what is wrong with comparing two values returned from
the bitncmp function. It does not return -1, 1 or 0 as it is written
on the comment when n % 8 == 0.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-01-04 12:25:31 Re: [PATCH] Support for pg_stat_archiver view
Previous Message knizhnik 2014-01-04 08:11:35 Re: [ANNOUNCE] IMCS: In Memory Columnar Store for PostgreSQL