summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-28 02:02:12 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-28 02:02:12 (GMT)
commita8e59673c037e3206cd558a8c981c6e4f4ec4e0d (patch)
tree18e62b9824cb3ff7ed0245ef86607df84d7532c2 /tools/h5dump
parenta2501c41bdb4f0a67e29d38a87009099ab29b9f8 (diff)
downloadhdf5-a8e59673c037e3206cd558a8c981c6e4f4ec4e0d.zip
hdf5-a8e59673c037e3206cd558a8c981c6e4f4ec4e0d.tar.gz
hdf5-a8e59673c037e3206cd558a8c981c6e4f4ec4e0d.tar.bz2
[svn-r15973] make -b accept both MEMORY and NATIVE
tested: windows, linux
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/h5dump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 056a5b2..fe653fb 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -3220,8 +3220,11 @@ set_binary_form(const char *form)
{
int bform=-1;
- if (strcmp(form,"NATIVE")==0) /* native form */
+ if (strcmp(form,"NATIVE")==0 ||
+ strcmp(form,"MEMORY")==0)
+ {/* native form */
bform = 0;
+ }
else if (strcmp(form,"FILE")==0) /* file type form */
bform = 1;
else if (strcmp(form,"LE")==0) /* convert to little endian */