summaryrefslogtreecommitdiffstats
path: root/src/H5Z.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-18 17:14:43 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-18 17:14:43 (GMT)
commitd27a31461c69001551b1168c3ca44b591f4cb82b (patch)
treebac2fc1ea06c6ab1052c0eab083c87769ac79c3f /src/H5Z.c
parentd9b9ed853d6b5d53935efad83d932f58ef0a5ac3 (diff)
downloadhdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.zip
hdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.tar.gz
hdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.tar.bz2
[svn-r601] Changes since 19980814
---------------------- ./src/H5Fistore.c Fixed a bug that caused the wrong number of chunk offsets to be read or written from the file. ./src/H5Z.c Fixed a memory bug. ./test/dtypes.c Removed redundant tests. ./bin/snapshot Removed Perl code from a shell script. Oops :-) ./src/H5D.c Removed cvs merge conflicts. ./src/H5Omtime.c Fixed a typo in the Irix5.3 code. ./src/H5S.c Fixed a memory leak. ./src/H5Shyper.c Fixed a bad call to malloc() that didn't allocate enough memory. Reordered a comparison to eliminate an array bounds read error.
Diffstat (limited to 'src/H5Z.c')
-rw-r--r--src/H5Z.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index e2059ee..b6d44f8 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -117,8 +117,8 @@ H5Z_term_interface (void)
/* Print the statistics */
HDfprintf (stderr,
- " %c%-15s %10Hd %10Hd %8.2f %8.2f %8.2f "
- "%10s\n", dir?'<':'>', comment,
+ " %s%-15s %10Hd %10Hd %8.2f %8.2f %8.2f "
+ "%10s\n", dir?"<":">", comment,
H5Z_table_g[i].stats[dir].total,
H5Z_table_g[i].stats[dir].errors,
H5Z_table_g[i].stats[dir].timer.utime,
@@ -310,6 +310,8 @@ H5Z_append(H5O_pline_t *pline, H5Z_filter_t filter, uintn flags,
for (i=0; i<cd_nelmts; i++) {
pline->filter[idx].cd_values[i] = cd_values[i];
}
+ } else {
+ pline->filter[idx].cd_values = NULL;
}
pline->nfilters++;