diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-12 14:16:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-12 14:16:58 (GMT) |
commit | 8d422da811b82fe6c21147de9a71ed5a19d6d739 (patch) | |
tree | f0e3d762bd3ad275e154d11f54be47ee1ff84710 /test | |
parent | 9b09201ce18f8d9455f3a09cf1d820e4acc3f9d6 (diff) | |
download | hdf5-8d422da811b82fe6c21147de9a71ed5a19d6d739.zip hdf5-8d422da811b82fe6c21147de9a71ed5a19d6d739.tar.gz hdf5-8d422da811b82fe6c21147de9a71ed5a19d6d739.tar.bz2 |
[svn-r9526] Purpose:
Bug fix, sorta.
Description:
Revert change to H5Pget_data_transform() which changed len of buffer
returned to be inconsistent with H5Iget_name(), etc. We should discuss this
change and apply it to all the similar functions if we decide to change the
return value.
Platforms tested:
FreeBSD 4.10 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'test')
-rw-r--r-- | test/dtransform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtransform.c b/test/dtransform.c index 38d35a2..ebe90bb 100644 --- a/test/dtransform.c +++ b/test/dtransform.c @@ -556,7 +556,7 @@ int test_set(void) H5Eset_auto_stack(H5E_DEFAULT, NULL, NULL); TESTING("H5Pget_data_transform (get before set)") - if(H5Pget_data_transform(dxpl_id, ptrgetTest, strlen(str)) < 0) + if(H5Pget_data_transform(dxpl_id, ptrgetTest, strlen(str)+1) < 0) { PASSED(); } |