diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-11-13 20:05:56 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-11-13 20:05:56 (GMT) |
commit | e3a280a1652327757eac779e50ca584540d334db (patch) | |
tree | 9aa8c6103937cf3bb7427ca9145ba43191e4a34e /src/H5FPserver.c | |
parent | 18c2554090fa12787c671ac0ff0d085af30cfea2 (diff) | |
download | hdf5-e3a280a1652327757eac779e50ca584540d334db.zip hdf5-e3a280a1652327757eac779e50ca584540d334db.tar.gz hdf5-e3a280a1652327757eac779e50ca584540d334db.tar.bz2 |
[svn-r7847] Purpose:
Bug Fix
Description:
The SAP was sending back replies to the client but the client wasn't
picking them up (this was after a dump from the server.
Solution:
Read the extra replies from the server.
Platforms tested:
AIX (w/ FPHDF5)
Linux (w/ FPHDF5)
Solaris (w/ Fortran & C++)
Misc. update:
Diffstat (limited to 'src/H5FPserver.c')
-rw-r--r-- | src/H5FPserver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FPserver.c b/src/H5FPserver.c index 25a456b..47fefe6 100644 --- a/src/H5FPserver.c +++ b/src/H5FPserver.c @@ -957,15 +957,15 @@ H5FP_sap_handle_lock_request(H5FP_request_t *req) H5FP_file_info *info; H5FP_object_lock *lock; } *oids; - unsigned list_size = 2; /* the size of the "oids" list */ - H5FP_status_t exit_state = H5FP_STATUS_LOCK_ACQUIRED; - herr_t ret_value = SUCCEED; - unsigned i, j; + unsigned list_size = 2; /* the size of the "oids" list */ + H5FP_status_t exit_state = H5FP_STATUS_LOCK_ACQUIRED; + unsigned i, j; + herr_t ret_value = SUCCEED; FUNC_ENTER_NOINIT(H5FP_sap_handle_lock_request); if ((oids = (struct lock_group *)H5MM_malloc(list_size * - sizeof(struct lock_group))) == NULL) { + sizeof(struct lock_group))) == NULL) { exit_state = H5FP_STATUS_OOM; HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "out of memory"); } |