diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-01-28 18:52:53 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-01-28 18:52:53 (GMT) |
commit | 3e601905e38451e5aa003d472fdfb45338d50fe9 (patch) | |
tree | f27930c99def09c98fcc73058e5e2fce41536b26 /src/H5Gnode.c | |
parent | c0cfc4421ad7c95c46c2a654f8c06bff8db3588f (diff) | |
download | hdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.zip hdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.tar.gz hdf5-3e601905e38451e5aa003d472fdfb45338d50fe9.tar.bz2 |
[svn-r186] Changes since 19980128
----------------------
./config/conclude.in
The maintainer-clean target removes Emacs backup files,
mirroring backup and contrib files, core files, and profile
output files in addition to what it used to remove.
./src/H5D.c
Fixed a buffer allocation bug in the output pipeline.
./src/H5Gnode.c
Fixed a comparison against size_t
./test/Makefile.in
Added the other temporary h5 files to the `MOSTLYCLEAN' var.
./test/cmpd_dset.c
Added four tests for partial I/O. Don't you just love it when
something works on the first try!
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r-- | src/H5Gnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c index 5eb24d7..5e6c862 100644 --- a/src/H5Gnode.c +++ b/src/H5Gnode.c @@ -758,7 +758,7 @@ H5G_node_insert(H5F_t *f, const haddr_t *addr, offset = H5H_insert(f, &(bt_udata->heap_addr), HDstrlen(bt_udata->name)+1, bt_udata->name); bt_udata->ent.name_off = offset; - if (offset <= 0) { + if (0==offset || (size_t)(-1)==offset) { HGOTO_ERROR(H5E_SYM, H5E_CANTINSERT, H5B_INS_ERROR, "unable to insert symbol name into heap"); } |