summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-09-08 13:39:18 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-09-08 13:39:18 (GMT)
commit72a58073cd51996f34906f992a2377073df5bbc0 (patch)
tree311fdb1448125447ba3d58d9308dc9eaa0135f64
parentfbacf0337a5186fae215855fb2b83a37e0666195 (diff)
downloadhdf5-72a58073cd51996f34906f992a2377073df5bbc0.zip
hdf5-72a58073cd51996f34906f992a2377073df5bbc0.tar.gz
hdf5-72a58073cd51996f34906f992a2377073df5bbc0.tar.bz2
[svn-r672] Changes since 19980904
---------------------- ./MANIFEST ./bin/release ./bin/snapshot The format of the MANIFEST file has been relaxed -- comments and blank lines should no longer confuse the tools that use it. As before, this file should contain a list of *all* files that are part of HDF5, which means all files which are managed by CVS/SVF. However, files can be marked so they're not part of a release by adding _DO_NOT_DISTRIBUTE_ after the file name. I've removed all the *.obj files from the distribution by adding _DO_NOT_DISTRIBUTE_ after their names. I also removed the old white-papers that might not apply to the current version of the library and documentation about chunking performance since it's wrong now that chunk caching is implemented. Everyone please check the files you're responsible for to make sure that they should really be part of a release. To get a list of all files use grep '^\.' MANIFEST | cut -f1 To get a list of files for distribution use: grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_ (These commands assume tabs in the MANIFEST file. If the file might contain spaces then run it through `unexpand' or `tr' first). ./configure.in ./configure ./src/H5config.h.in ./test/ragged.c Check for sigaction(). ./test/Makefile.in The `clean' target removes the timing tests.
-rw-r--r--src/H5config.h.in3
-rw-r--r--test/Makefile.in1
-rw-r--r--test/ragged.c18
3 files changed, 16 insertions, 6 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 8a7b573..f244669 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -107,6 +107,9 @@
/* Define if you have the lseek64 function. */
#undef HAVE_LSEEK64
+/* Define if you have the sigaction function. */
+#undef HAVE_SIGACTION
+
/* Define if you have the system function. */
#undef HAVE_SYSTEM
diff --git a/test/Makefile.in b/test/Makefile.in
index 3fb99cd..e98e1de 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -25,6 +25,7 @@ MOSTLYCLEAN=cmpd_dset.h5 dataset.h5 extend.h5 istore.h5 tfile1.h5 tfile2.h5 \
shtype2a.h5 shtype2b.h5 shtype3.h5 links.h5 chunk.h5 big.data \
big[0-9][0-9][0-9][0-9][0-9].h5 dtypes1.h5 dtypes2.h5 tattr.h5 \
tselect.h5 mtime.h5 ragged.h5
+CLEAN=$(TIMINGS)
# Source and object files for programs... The TEST_SRC list contains all the
# source files and is used for things like dependencies, archiving, etc. The
diff --git a/test/ragged.c b/test/ragged.c
index 981663d..e4e8a8c 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -578,7 +578,6 @@ main(int argc, char *argv[])
{
hid_t file, dcpl, ra;
hsize_t ch_size[2]; /*chunk size */
- struct sigaction act; /*alarm signal handler */
hsize_t rows_at_once=100; /*row aggregation */
int argno=1;
@@ -591,11 +590,18 @@ main(int argc, char *argv[])
H5Eset_auto(display_error_cb, NULL);
/* Get a SIGALRM every few seconds */
- act.sa_handler = catch_alarm;
- sigemptyset(&(act.sa_mask));
- act.sa_flags = 0;
- sigaction(SIGALRM, &act, NULL);
- alarm(1);
+#ifdef HAVE_SIGACTION
+ {
+ struct sigaction act;
+ act.sa_handler = catch_alarm;
+ sigemptyset(&(act.sa_mask));
+ act.sa_flags = 0;
+ sigaction(SIGALRM, &act, NULL);
+ alarm(1);
+ }
+#else
+ puts("No sigaction(). This test may run for a *long* time.");
+#endif
/* Create the file and ragged array */
if ((file=H5Fcreate("ragged.h5", H5F_ACC_TRUNC, H5P_DEFAULT,