[svn-r12736] Description:
Add "use the latest format" support for dataspace object header encode/
decode routines and clean up format a bit for the latest format (new to 1.8.x
releases)
Remove storing 'perm' parameter for array datatypes in memory and the file,
and add test to make certain that if any user applications are attempting to
store them, we get some reports back. (Should be unlikely, since the RefMan
says that the parameter is not implemented and is unsupported).
Carry those changes into the tests, etc.
Clean up a bunch more compiler warnings.
Tested on:
FreeBSD/32 4.11 (sleipnir) w/threadsafe
Linux/32 2.4 (heping) w/FORTRAN & C++
Linux/64 2.4 (mir) w/enable-1.6-compat
This commit is contained in:
@@ -675,7 +675,7 @@ void write_dset_in(hid_t loc_id,
|
||||
}
|
||||
}
|
||||
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_dset(loc_id,1,dims,"array",tid,buf6);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
@@ -824,7 +824,7 @@ void write_dset_in(hid_t loc_id,
|
||||
}
|
||||
|
||||
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_dset(loc_id,2,dims2,"array2D",tid,buf62);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
@@ -1008,7 +1008,7 @@ void write_dset_in(hid_t loc_id,
|
||||
}
|
||||
}
|
||||
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_dset(loc_id,3,dims3,"array3D",tid,buf63);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
@@ -1334,7 +1334,7 @@ position array of </g1> array of </g1> difference
|
||||
[ 1 ] 5 0 5
|
||||
[ 1 ] 6 0 6
|
||||
*/
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_attr(loc_id,1,dims,"array",tid,buf6);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
@@ -1613,7 +1613,7 @@ position array2D of </g1> array2D of </g1> difference
|
||||
[ 2 1 ] 17 0 17
|
||||
[ 2 1 ] 18 0 18
|
||||
*/
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_attr(loc_id,2,dims2,"array2D",tid,buf62);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
@@ -2001,7 +2001,7 @@ etc
|
||||
etc
|
||||
*/
|
||||
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT,1,dimarray,NULL);
|
||||
tid = H5Tarray_create(H5T_NATIVE_INT, 1, dimarray, NULL);
|
||||
write_attr(loc_id,3,dims3,"array3D",tid,buf63);
|
||||
status = H5Tclose(tid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user