commit | 32f0f717d1e7854d87e03b659e772fa48ec9f91a | [log] [tgz] |
---|---|---|
author | William M. Brack <wbrack@src.gnome.org> | Thu Jul 14 07:00:33 2005 +0000 |
committer | William M. Brack <wbrack@src.gnome.org> | Thu Jul 14 07:00:33 2005 +0000 |
tree | 792da91c93a152bc24a7f432316f89d4ee12aada | |
parent | da0aa4cfdbd9b71e01bc452c95d044bbe66e1b5a [diff] [blame] |
Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a * xpath.c: Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a nodeset with a numeric value of NaN is compared for inequality with any numeric value (bug 309914).
diff --git a/xpath.c b/xpath.c index cd4f82f..0029734 100644 --- a/xpath.c +++ b/xpath.c
@@ -4577,6 +4577,9 @@ ret = 1; break; } + } else { /* NaN is unequal to any value */ + if (neq) + ret = 1; } } }