summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-08-15 07:42:08 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-08-15 07:42:08 (GMT)
commit7f4843c06bfdf62da93f4e7a68fda17a3b3e3070 (patch)
tree198b5bce3ca0d84701cd9f45643b782dabadc255 /src
parentad13ea65abf246f25841f1bb32ee232c1767b9df (diff)
downloadhdf5-7f4843c06bfdf62da93f4e7a68fda17a3b3e3070.zip
hdf5-7f4843c06bfdf62da93f4e7a68fda17a3b3e3070.tar.gz
hdf5-7f4843c06bfdf62da93f4e7a68fda17a3b3e3070.tar.bz2
[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:
Diffstat (limited to 'src')
-rw-r--r--src/H5FPserver.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*