From d808a5b53a822a945eff7ff2ea3f77941e9e7ba2 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 2 Oct 2001 11:57:56 -0500 Subject: [svn-r4508] Purpose: Document bug fix. Description: When reading or writing to chunked datasets and the data needed datatype conversion, and the amount of data was more than one conversion buffer, data in the conversion buffer was getting corrupted. Solution: Corrected error in advancing buffer pointer where it was being advanced by the number of elements instead of the number of bytes. Platforms tested: FreeBSD 4.4 (hawkwind) --- src/H5D.c | 23 +++++++++++++++++++---- src/H5Dseq.c | 12 ++++++------ src/H5Fseq.c | 12 ++++++------ 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/src/H5D.c b/src/H5D.c index 633387f..c82c89a 100644 --- a/src/H5D.c +++ b/src/H5D.c @@ -2049,13 +2049,13 @@ printf("%s: check 2.0, src_type_size=%d, dst_type_size=%d, target_size=%d\n",FUN #ifdef QAK { int i; - int *b; + float *b; /* if(qak_debug) { */ - b=tconv_buf; printf("\ntconv_buf:"); - for (i=0; i