Re: Wrong comment for bitncmp function in network.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Wrong comment for bitncmp function in network.c
Date
Msg-id 20019.1388860840@sss.pgh.pa.us
Whole thread Raw
In response to Wrong comment for bitncmp function in network.c  (Emre Hasegeli <emre@hasegeli.com>)
List pgsql-hackers
Emre Hasegeli <emre@hasegeli.com> writes:
> 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.

Yeah, should say "<0, >0, or 0", I guess.  Will fix, thanks.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Store Extension Options
Next
From: Tom Lane
Date:
Subject: Re: comment typo in postgres_fdw/postgres_fdw.c