[svn-r8758] Purpose:
h5dump new feature, bug fix Description: added the dump of unmamed types to the file contents fixed a bug in the type array, it was printing invalid characters with the array indices option on Solution: Platforms tested: linux AIX solaris Misc. update:
This commit is contained in:
@@ -4987,15 +4987,25 @@ static void gent_fcontents(void)
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* datatype
|
||||
* datatypes
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
tid=H5Tcopy(H5T_STD_B8LE);
|
||||
tid=H5Tcopy(H5T_NATIVE_INT);
|
||||
ret=H5Tcommit(fid, "mytype", tid);
|
||||
assert(ret>=0);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/* no name datatype */
|
||||
tid=H5Tcopy(H5T_NATIVE_INT);
|
||||
ret=H5Tcommit(fid, "mytype2", tid);
|
||||
assert(ret>=0);
|
||||
write_dset(fid,1,dims,"dsetmytype2",tid,buf);
|
||||
ret=H5Gunlink(fid,"mytype2");
|
||||
assert(ret>=0);
|
||||
ret=H5Tclose(tid);
|
||||
assert(ret>=0);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* close
|
||||
*-------------------------------------------------------------------------
|
||||
@@ -5010,12 +5020,12 @@ static void gent_fcontents(void)
|
||||
|
||||
ret=H5Fclose(fid);
|
||||
assert(ret>=0);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: gent_null_space
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user