[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/43488 (rb.[hc] API critiques/problems that should be addressed before final release)
The following reply was made to PR lib/43488; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Jeremy Huddleston <jeremyhu%apple.com@localhost>,
Cc: agc%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
Subject: Re: lib/43488 (rb.[hc] API critiques/problems that should be addressed
before final release)
Date: Mon, 21 Jun 2010 18:54:51 -0400
On Jun 21, 11:19am, jeremyhu%apple.com@localhost (Jeremy Huddleston) wrote:
-- Subject: Re: lib/43488 (rb.[hc] API critiques/problems that should be addr
| Actually, the comparison functions are opposite what qsort does. qsort(3)
| The comparison function must return an integer less than, equal to, or
| greater than zero if the first argument is considered to be respectively
| less than, equal to, or greater than the second.
| That is consistent with strcmp(3) and is opposite what rb(3) states.
I agree that this is what strcmp(3), qsort(3), and rb(3) state, and I think
it would be beneficial to change rb to behave the same for consistency.
Main Index |
Thread Index |