summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-31 19:21:23 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-31 19:21:23 (GMT)
commit2ab2e14bb59d6ae7013bba9458e9f5a3b5cc2d1a (patch)
treec23cdadb45857e5e8549bb14fd057db63cce7c26 /tools
parent473452205dcc08055486d29b6dc5f36670c3ceb5 (diff)
downloadhdf5-2ab2e14bb59d6ae7013bba9458e9f5a3b5cc2d1a.zip
hdf5-2ab2e14bb59d6ae7013bba9458e9f5a3b5cc2d1a.tar.gz
hdf5-2ab2e14bb59d6ae7013bba9458e9f5a3b5cc2d1a.tar.bz2
[svn-r635] Changes since 19980831
---------------------- ./Makefile.in Running `make distclean' will not fail if one of the subdirectories has already been cleaned. ./config/BlankForm ./config/irix5.3 Cleaned it up more. Added better support/documentation for systems that have more than one compiler. ./config/alpha-dec-osf4.0 [NEW] Added a new config file as a result of testing on Jim Reus's machine. ./test/chunk.c Scaled down the testing range so we can actually run it interactively. ./tools/h5import.c Included <unistd.h> to get rid of warning for close(). ./src/H5detect.c Seg-faults on Linux for some reason when NDEBUG is defined, so I just undef it at the top of the source. ./test/big.c Added a fflush(). ./tools/h5ls.c The `-d' flag now works even when `-v' isn't specified. ./examples/h5_chunk_read.c ./examples/h5_compound.c ./examples/h5_extend_write.c ./examples/h5_group.c ./examples/h5_read.c ./examples/h5_write.c Indented according to hdf5 standards. Fixed compiler warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/h5import.c1
-rw-r--r--tools/h5ls.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5import.c b/tools/h5import.c
index dd88ba6..9fc2454 100644
--- a/tools/h5import.c
+++ b/tools/h5import.c
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
+#include <unistd.h>
/*-------------------------------------------------------------------------
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 13e4830..a311c5b 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -386,8 +386,8 @@ list (hid_t group, const char *name, void __unused__ *cd)
H5Gget_comment(group, name, sizeof(comment), comment);
strcpy(comment+sizeof(comment)-4, "...");
if (comment[0]) printf(" %-10s %s\n", "Comment:", comment);
- if (dispatch_g[sb.type].list2) (dispatch_g[sb.type].list2)(obj);
}
+ if (dispatch_g[sb.type].list2) (dispatch_g[sb.type].list2)(obj);
/*
* Close the object.