[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:
Albert Cheng 2000-10-30 12:38:56 -05:00
parent 4b78390eda
commit d26db0af91

View File

@ -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) {