From 4c08397e7977b4952dd772dfa9c1703727de7c28 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 29 Oct 2008 15:14:51 -0500 Subject: [svn-r15992] Merge with 1.8 rev 15973 make -b accept both MEMORY and NATIVE Tested: linux --- tools/h5dump/h5dump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- cgit v0.12