diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2007-04-13 22:04:26 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2007-04-13 22:04:26 (GMT) |
commit | 0332285cfff86ebb5624ef949430830e91389cc6 (patch) | |
tree | 9886553058bc524b607842cd6de161dac318922a | |
parent | cc16cc7dea37c66d08532cef3f754913fe76a7c9 (diff) | |
download | hdf5-0332285cfff86ebb5624ef949430830e91389cc6.zip hdf5-0332285cfff86ebb5624ef949430830e91389cc6.tar.gz hdf5-0332285cfff86ebb5624ef949430830e91389cc6.tar.bz2 |
[svn-r13660] Minor cleanups and bug fixes.
H5Zpublic.h file didn't include H5public.h; done
H5Spublic.h had ghost function H5Sset_space; deleted
New source files were added to make.com for VMS.
h5gget_comment_c had a small bug in calculating buffer length; fixed
Platforms tested: pahra and kagiso; too minor for h5committest
-rw-r--r-- | fortran/src/H5Gf.c | 2 | ||||
-rw-r--r-- | src/H5Spublic.h | 1 | ||||
-rw-r--r-- | src/H5Zpublic.h | 3 | ||||
-rw-r--r-- | vms/src/make.com | 8 |
4 files changed, 8 insertions, 6 deletions
diff --git a/fortran/src/H5Gf.c b/fortran/src/H5Gf.c index 0b87f4d..ff4d4d0 100644 --- a/fortran/src/H5Gf.c +++ b/fortran/src/H5Gf.c @@ -642,7 +642,7 @@ nh5gget_comment_c(hid_t_f *loc_id, _fcd name, int_f *namelen, size_t_f *bufsize, * Allocate buffer to hold the comment */ c_bufsize = (size_t)*bufsize; - if(c_bufsize) c_comment = (char *)malloc(c_bufsize); + if(c_bufsize) c_comment = (char *)malloc(c_bufsize + 1); if(c_comment == NULL) { HDfree(c_name); return ret_value; diff --git a/src/H5Spublic.h b/src/H5Spublic.h index 902c87a..95135b9 100644 --- a/src/H5Spublic.h +++ b/src/H5Spublic.h @@ -107,7 +107,6 @@ H5_DLL int H5Sget_simple_extent_ndims(hid_t space_id); H5_DLL int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[]); H5_DLL htri_t H5Sis_simple(hid_t space_id); -H5_DLL herr_t H5Sset_space(hid_t space_id, int rank, const hsize_t *dims); H5_DLL hssize_t H5Sget_select_npoints(hid_t spaceid); H5_DLL herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], diff --git a/src/H5Zpublic.h b/src/H5Zpublic.h index fa23d00..1fac71c 100644 --- a/src/H5Zpublic.h +++ b/src/H5Zpublic.h @@ -20,6 +20,9 @@ #ifndef _H5Zpublic_H #define _H5Zpublic_H +/* Public headers needed by this file */ +#include "H5public.h" + /* * Filter identifiers. Values 0 through 255 are for filters defined by the * HDF5 library. Values 256 through 511 are available for testing new diff --git a/vms/src/make.com b/vms/src/make.com index 1f681fd..817b5a2 100644 --- a/vms/src/make.com +++ b/vms/src/make.com @@ -31,14 +31,14 @@ $! $ cobj= "H5, H5checksum, H5dbg, H5system, H5timer, H5trace,"+- "H5A, H5Abtree2, H5Adense, H5Adeprec, H5Aint, H5Atest, H5AC, H5B, H5B2, H5B2cache,"+- "H5Bcache, H5B2dbg, H5B2test, H5B2int, H5B2stat, H5C, H5CS,"+- - "H5D, H5Dcontig, H5Dcompact,"+- + "H5D, H5Dcontig, H5Dcompact, H5Ddeprec,"+- "H5Defl, H5Dio, H5Distore, H5Doh, H5Dmpio, H5Dselect, H5Dtest ,"+- - "H5E, H5F, H5Fdbg, H5Fmount, H5Fsfile, H5Fsuper, H5Ftest, H5FD, H5FDcore,"+- + "H5E, H5Edeprec, H5Eint, H5F, H5Fdbg, H5Fmount, H5Fsfile, H5Fsuper, H5Ftest, H5FD, H5FDcore,"+- "H5FDfamily, H5FDlog, H5FDmpi, H5FDmpio,"+- "H5FDmpiposix, H5FDmulti, H5FDsec2, H5FDstdio,"+- "H5FDstream, H5FDdirect, H5FL, H5FO, H5Ffake,"+- "H5FS, H5FScache, H5FSdbg, H5FSsection,"+- - "H5G, H5Gcompact, H5Gdeprec, H5Gent, H5Glink, H5Gloc, H5Gname, H5Gnode, H5Gstab,"+- + "H5G, H5Gcompact, H5Gdeprec, H5Gent, H5Gint, H5Glink, H5Gloc, H5Gname, H5Gnode, H5Gstab,"+- "H5Gdense, H5Gbtree2,"+- "H5Gobj, H5Goh, H5Gtest, H5Gtraverse,"+- "H5HF, H5HFbtree2, H5HFcache, H5HFdbg, H5HFman, H5HFtest, H5HFstat,"+- @@ -57,7 +57,7 @@ $ cobj1= "H5Oname, H5Onull, H5Opline, H5Osdspace, H5Oshared, H5Ostab, H5Otest,"+ "H5Sselect, H5Stest,"+- "H5SL, H5SM, H5SMbtree2, H5SMcache, H5SMtest," +- "H5ST, H5T, H5Tarray, H5Tbit, H5Tcommit,"+- - "H5Tcompound, H5Tconv, H5Tcset, H5Tenum, H5Tfields, H5Tfixed,"+- + "H5Tcompound, H5Tconv, H5Tcset, H5Tdeprec, H5Tenum, H5Tfields, H5Tfixed,"+- "H5Tfloat, H5Tinit, H5Tnative, H5Toffset, H5Toh, H5Topaque, H5Torder,"+- "H5Tpad, H5Tprecis, H5Tstrpad, H5Tvlen, H5TS, H5V, H5Z,"+- "H5Zdeflate, H5Zfletcher32, H5Znbit, H5Zshuffle, H5Zszip,"+- |