From 7f4843c06bfdf62da93f4e7a68fda17a3b3e3070 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 15 Aug 2003 02:42:08 -0500 Subject: [svn-r7368] Purpose: Bug Fix Description: With the new datatypes for OIDs, I didn't write the comparison function correctly. Solution: Changed it from: return oid1 == oid2 to return oid1 - oid2 Platforms tested: Linux (FPHDF5 specific) Misc. update: --- src/H5FPserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5FPserver.c b/src/H5FPserver.c index d9f5d7c..4b3df6b 100644 --- a/src/H5FPserver.c +++ b/src/H5FPserver.c @@ -313,7 +313,7 @@ H5FP_object_lock_cmp(H5FP_object_lock *o1, FUNC_ENTER_NOINIT(H5FP_object_lock_cmp); assert(o1); assert(o2); - FUNC_LEAVE_NOAPI(o1->oid == o2->oid); + FUNC_LEAVE_NOAPI(o1->oid - o2->oid); } /* -- cgit v0.12