mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r2752] Purpose:
Bug fix Description: There is typo in the H5D_write function which reported the optimized write failure as a H5E_READERROR. Solution: Replaced it with the correct H5E_WRITEERROR code. Platforms tested: modi4 parallel (compiled H5D.o only).
This commit is contained in:
parent
4b78390eda
commit
d26db0af91
@ -2091,7 +2091,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
|
||||
mem_space, dxpl_id, buf, &must_convert/*out*/);
|
||||
if (status<0) {
|
||||
/* Supports only no conversion, type or space, for now. */
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL,
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL,
|
||||
"optimized write failed");
|
||||
}
|
||||
if (must_convert) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user