- Fixed a bug in conman.c which could cause a core dump when terminating
a connection during an active run. - Added an additional output mode for the connection in order to support the batch run editor. - Made clientput send everything with eWarning mode in order to support the batch run editor. - Added a better NetReadTillTerm - Fixed a problem in synchronize.c - Fixed an issue with reading empty line on normal connection sockets. - Added a psi scan mode to mesure.c for TRICS - Made motor print warnings when trying to reposition. - Fixed abug in hkl.c which cause wrong signs. SKIPPED: psi/el734driv.c psi/el734hp.c psi/el737driv.c psi/el737hpdriv.c psi/nextrics.c psi/nxamor.c psi/psi.c psi/slsmagnet.c psi/swmotor2.c psi/tasscan.c psi/tasutil.c
This commit is contained in:
8
napi5.c
8
napi5.c
@@ -1,3 +1,4 @@
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
NeXus - Neutron & X-ray Common Data Format
|
||||
|
||||
@@ -348,8 +349,8 @@ NXstatus CALLING_STYLE NX5closegroup (NXhandle fid);
|
||||
H5Fget_obj_count(pFile->iFID,H5F_OBJ_ALL));
|
||||
*/
|
||||
iRet = H5Fclose(pFile->iFID);
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
Please leave this here, it helps debugging HDF5 resource leakages
|
||||
printf("HDF5 object count after close: %d\n",
|
||||
H5Fget_obj_count(H5F_OBJ_ALL,H5F_OBJ_ALL));
|
||||
@@ -870,7 +871,8 @@ NXstatus CALLING_STYLE NX5closegroup (NXhandle fid);
|
||||
iRet = H5Dwrite (pFile->iCurrentD, pFile->iCurrentT, H5S_ALL, H5S_ALL,
|
||||
H5P_DEFAULT, data);
|
||||
if (iRet < 0) {
|
||||
snprintf (pError,511, "ERROR: failure to write data");
|
||||
snprintf (pError,511, "ERROR: failure to write data to %s",
|
||||
pFile->iCurrentLD);
|
||||
NXIReportError (NXpData, pError);
|
||||
return NX_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user