[svn-r205] Changes since 19980130

----------------------

./INSTALL
./Makefile.dist
./Makefile.in
./config/conclude.in
	Some stupid make's don't know what PHONY means.  I added
	changed config to _config in the default makefile and added
	_test to the other makefiles.

./src/H5Psim.c
	A `file_offset' argument got changed to `int' accidently that
	causes tests to fail on 64-bit machines.  I changed it back to
	size_t.

./src/H5T.c
	Changed a couple printf formats.
This commit is contained in:
Robb Matzke 1998-01-30 15:17:25 -05:00
parent b227b38853
commit 6e6366aec2
6 changed files with 17 additions and 16 deletions

View File

@ -91,8 +91,8 @@ Step 4. Run confidence tests.
The command will fail if any test fails.
Note: some versions of make will report that `test is up to
date'. If this happens then run `make test' from within the test
directory.
date'. If this happens then run `make _test' instead or run
`make test' from within the test directory.
Step 5. Install public files.

View File

@ -11,14 +11,14 @@
SHELL=/bin/sh
all lib progs test install uninstall dep depend clean mostlyclean: config
all lib progs test _test install uninstall dep depend: _config
$(MAKE) $@
distclean maintainer-clean TAGS: config
clean mostlyclean distclean maintainer-clean TAGS: _config
$(MAKE) $@
config:
_config:
sh configure
.PHONY: all lib progs test install uninstall dep depend clean mostlyclean \
distclean maintainer-clean config
distclean maintainer-clean _config

View File

@ -57,13 +57,13 @@ SUBDIRS=src test
# make used in combination with gcc will maintain dependency
# information automatically.
#
all lib progs test install uninstall TAGS dep depend:
all lib progs test _test install uninstall TAGS dep depend:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
.PHONY: all lib progs test install uninstall dep depend clean mostlyclean \
distclean maintainer-clean
.PHONY: all lib progs test _test install uninstall dep depend clean \
mostlyclean distclean maintainer-clean
clean mostlyclean:
@@SETX@; for d in $(SUBDIRS); do \

View File

@ -20,7 +20,7 @@ TAGS: $(LIB_SRC)
-etags $(LIB_SRC)
# Runs each test in order, passing $(TEST_FLAGS) to the program.
test: $(PROGS)
test _test: $(PROGS)
@for test in $(TESTS) dummy; do \
if test $$test != dummy; then \
echo "Testing $$test $(TEST_FLAGS)"; \

View File

@ -89,7 +89,7 @@ H5P_simp_fgath (H5F_t *f, const struct H5O_layout_t *layout,
const H5P_number_t *numbering, intn start, intn nelmts,
void *buf/*out*/)
{
int file_offset[H5O_LAYOUT_NDIMS]; /*offset of slab in file*/
size_t file_offset[H5O_LAYOUT_NDIMS]; /*offset of slab in file*/
size_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */
size_t zero[H5O_LAYOUT_NDIMS]; /*zero */
size_t sample[H5O_LAYOUT_NDIMS]; /*hyperslab sampling */

View File

@ -1,4 +1,5 @@
/****************************************************************************
/*
*
* NCSA HDF *
* Software Development Group *
* National Center for Supercomputing Applications *
@ -3238,8 +3239,8 @@ H5T_debug(H5T_t *dt, FILE * stream)
break;
}
fprintf(stream, "%s%s {nbytes=%d",
s, dt->locked ? "[!]" : "", dt->size);
fprintf(stream, "%s%s {nbytes=%ul",
s, dt->locked ? "[!]" : "", (unsigned long)(dt->size));
if (H5T_is_atomic(dt)) {
switch (dt->u.atomic.order) {
@ -3332,8 +3333,8 @@ H5T_debug(H5T_t *dt, FILE * stream)
if (dt->u.compnd.memb[i].ndims) {
fprintf(stream, "[");
for (j = 0; j < dt->u.compnd.memb[i].ndims; j++) {
fprintf(stream, "%s%d", j ? ", " : "",
dt->u.compnd.memb[i].dim[j]);
fprintf(stream, "%s%lu", j ? ", " : "",
(unsigned long)(dt->u.compnd.memb[i].dim[j]));
}
fprintf(stream, "]");
}