diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-08-15 07:42:08 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-08-15 07:42:08 (GMT) |
commit | 7f4843c06bfdf62da93f4e7a68fda17a3b3e3070 (patch) | |
tree | 198b5bce3ca0d84701cd9f45643b782dabadc255 /src | |
parent | ad13ea65abf246f25841f1bb32ee232c1767b9df (diff) | |
download | hdf5-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.c | 2 |
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); } /* |