diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2012-09-10 16:53:19 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2012-09-10 16:53:19 (GMT) |
commit | d1060f63b754296ab312e714f50ecbd29748b25a (patch) | |
tree | fc57e78e93feeb3831cb1979a4c556331b5e6207 /src/H5Tdbg.c | |
parent | 2fae4fbfa629c1bfbeeb31d6b6a403528f1426d9 (diff) | |
download | hdf5-d1060f63b754296ab312e714f50ecbd29748b25a.zip hdf5-d1060f63b754296ab312e714f50ecbd29748b25a.tar.gz hdf5-d1060f63b754296ab312e714f50ecbd29748b25a.tar.bz2 |
[svn-r22748] Description:
H5FD_FLMAP_SINGLE changed to H5FD_FLMAP_DICHOTOMY in the MPI-POSIX VFD.
Tested on:
jam w/ parallel and fortran enabled (minor change)
Diffstat (limited to 'src/H5Tdbg.c')
-rw-r--r-- | src/H5Tdbg.c | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/src/H5Tdbg.c b/src/H5Tdbg.c index e5df7ff..a19a15a 100644 --- a/src/H5Tdbg.c +++ b/src/H5Tdbg.c @@ -34,9 +34,9 @@ /***********/ /* Headers */ /***********/ -#include "H5private.h" /* Generic Functions */ -#include "H5Eprivate.h" /* Error handling */ -#include "H5Tpkg.h" /* Datatypes */ +#include "H5private.h" /* Generic Functions */ +#include "H5Eprivate.h" /* Error handling */ +#include "H5Tpkg.h" /* Datatypes */ /****************/ @@ -372,26 +372,25 @@ H5T_debug(const H5T_t *dt, FILE *stream) fprintf(stream, "\n"); } /* end else */ } else if(H5T_ENUM == dt->shared->type) { - size_t base_size; - - /* Enumeration data type */ - fprintf(stream, " "); - H5T_debug(dt->shared->parent, stream); - base_size = dt->shared->parent->shared->size; - for(i = 0; i < dt->shared->u.enumer.nmembs; i++) { - size_t k; - - fprintf(stream, "\n\"%s\" = 0x", dt->shared->u.enumer.name[i]); - for(k = 0; k < base_size; k++) - fprintf(stream, "%02lx", - (unsigned long)(dt->shared->u.enumer.value + (i * base_size) + k)); - } /* end for */ - fprintf(stream, "\n"); + size_t base_size; + + /* Enumeration data type */ + fprintf(stream, " "); + H5T_debug(dt->shared->parent, stream); + base_size = dt->shared->parent->shared->size; + for(i = 0; i < dt->shared->u.enumer.nmembs; i++) { + size_t k; + + fprintf(stream, "\n\"%s\" = 0x", dt->shared->u.enumer.name[i]); + for(k = 0; k < base_size; k++) + fprintf(stream, "%02lx", (unsigned long)(dt->shared->u.enumer.value + (i * base_size) + k)); + } /* end for */ + fprintf(stream, "\n"); } else if(H5T_OPAQUE == dt->shared->type) { - fprintf(stream, ", tag=\"%s\"", dt->shared->u.opaque.tag); + fprintf(stream, ", tag=\"%s\"", dt->shared->u.opaque.tag); } else { - /* Unknown */ - fprintf(stream, "unknown class %d\n", (int)(dt->shared->type)); + /* Unknown */ + fprintf(stream, "unknown class %d\n", (int)(dt->shared->type)); } fprintf(stream, "}"); |