From a8e59673c037e3206cd558a8c981c6e4f4ec4e0d Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Mon, 27 Oct 2008 21:02:12 -0500 Subject: [svn-r15973] make -b accept both MEMORY and NATIVE tested: windows, 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