Re: XML_SetHashSalt(p, 0) semantics

Fred Drake <[email protected]> Mon, 14 May 2012 16:01:21 -0400
Newsgroups gmane.text.xml.expat.general
Message-ID <CAFT4OTFrZ8Z3B_Q7yx2e_9BfPx=9p3EvojkO4c4aHsK+K+oM4g@mail.gmail.com>
On Mon, May 14, 2012 at 12:31 PM, Karl Waclawek <[email protected]> wrote:
> One could also say that it is a good thing that test cases are forced to =
be fixed....

Definitely.

+1 to fixing the documentation.  Relying on the order of entries in a
hash is a really bad thing, and they shouldn't be difficult to fix.

Whatever sentinel value is used, it should be provided as a #define.
I don't expect it to really matter whether it's 0 or 0xFFFFFFFF, but
changing it would be an API breakage at this point.


  -Fred

-- =

Fred L. Drake, Jr.=A0 =A0 <fdrake at acm.org>
"A person who won't read has no advantage over one who can't read."
=A0=A0 --Samuel Langhorne Clemens