summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-29 20:14:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-29 20:14:51 (GMT)
commit4c08397e7977b4952dd772dfa9c1703727de7c28 (patch)
treebffd12fa008902417274d29ac4ff5e9a2aa544e4
parent8f00f520ffc4a07aed58ae7c1cb75aefea832f6d (diff)
downloadhdf5-4c08397e7977b4952dd772dfa9c1703727de7c28.zip
hdf5-4c08397e7977b4952dd772dfa9c1703727de7c28.tar.gz
hdf5-4c08397e7977b4952dd772dfa9c1703727de7c28.tar.bz2
[svn-r15992] Merge with 1.8 rev 15973
make -b accept both MEMORY and NATIVE Tested: linux
-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 */