summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-04-29 11:39:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-04-29 11:39:38 (GMT)
commitcb0c04e1d4d3a5be3b3b07bb81ab647a3adccd43 (patch)
treef3cd78e4130f6d78a758c3c4d1d8f5864b1d4cdf /examples
parent08677fc32a3f2139614ad5dec54ef1755a24d3b1 (diff)
downloadhdf5-cb0c04e1d4d3a5be3b3b07bb81ab647a3adccd43.zip
hdf5-cb0c04e1d4d3a5be3b3b07bb81ab647a3adccd43.tar.gz
hdf5-cb0c04e1d4d3a5be3b3b07bb81ab647a3adccd43.tar.bz2
[svn-r16888] Description:
Bring r16821:16875 back from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_shared_mesg.c4
-rwxr-xr-xexamples/testh5cc.sh.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/h5_shared_mesg.c b/examples/h5_shared_mesg.c
index a2edb38..0c7f2f0 100644
--- a/examples/h5_shared_mesg.c
+++ b/examples/h5_shared_mesg.c
@@ -261,9 +261,9 @@ create_standard_file(const char *filename, hid_t fcpl_id)
* disk, so this type will be an array type rather than an atomic type.
* However, any type can be shared.
*/
- temp_type_id = H5Tarray_create2(H5T_NATIVE_INT, 10, dims);
+ temp_type_id = H5Tarray_create2(H5T_NATIVE_INT, 2, dims);
if(temp_type_id < 0) goto error;
- type_id = H5Tarray_create2(temp_type_id, 10, dims);
+ type_id = H5Tarray_create2(temp_type_id, 2, dims);
if(type_id < 0) goto error;
ret = H5Tclose(temp_type_id);
if(ret < 0) goto error;
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in
index cf70c18..07c84ef 100755
--- a/examples/testh5cc.sh.in
+++ b/examples/testh5cc.sh.in
@@ -25,8 +25,8 @@
# Where the tool is installed.
prefix="${prefix:-@prefix@}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
-AR=@AR@
-RANLIB=@RANLIB@
+AR="@AR@"
+RANLIB="@RANLIB@"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5cc" # The tool name
else