summaryrefslogtreecommitdiffstats
path: root/hl/examples
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-06-16 22:17:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-06-16 22:17:29 (GMT)
commitdb2c4c497abab139485dbf6797e56b1340e4577d (patch)
treef7dfb321a3643658ed24aaf776ec4c1e48bc76a3 /hl/examples
parent55af47c47c3c0c7bc17266968f5e0e782189e819 (diff)
downloadhdf5-db2c4c497abab139485dbf6797e56b1340e4577d.zip
hdf5-db2c4c497abab139485dbf6797e56b1340e4577d.tar.gz
hdf5-db2c4c497abab139485dbf6797e56b1340e4577d.tar.bz2
[svn-r15221] Description:
Bring changes from trunk from the time the branch was created (r14280) up to the 1.8.0 release (r14525) back into the metadata journaling branch. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, 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.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'hl/examples')
-rw-r--r--hl/examples/Makefile.in1
-rw-r--r--hl/examples/ex_table_01.c5
-rw-r--r--hl/examples/ex_table_02.c5
-rw-r--r--hl/examples/ex_table_03.c5
-rw-r--r--hl/examples/ex_table_04.c5
-rw-r--r--hl/examples/ex_table_05.c5
-rw-r--r--hl/examples/ex_table_06.c5
-rw-r--r--hl/examples/ex_table_07.c5
-rw-r--r--hl/examples/ex_table_08.c5
-rw-r--r--hl/examples/ex_table_09.c5
-rw-r--r--hl/examples/ex_table_10.c5
-rw-r--r--hl/examples/ex_table_11.c5
-rw-r--r--hl/examples/ex_table_12.c5
13 files changed, 49 insertions, 12 deletions
diff --git a/hl/examples/Makefile.in b/hl/examples/Makefile.in
index a5a4d4f..bbe994d 100644
--- a/hl/examples/Makefile.in
+++ b/hl/examples/Makefile.in
@@ -186,6 +186,7 @@ SET_MAKE = @SET_MAKE@
SHELL = /bin/sh
SIZE_T = @SIZE_T@
STATIC_SHARED = @STATIC_SHARED@
+STRICT_FORMAT_CHECKS = @STRICT_FORMAT_CHECKS@
STRIP = @STRIP@
TESTPARALLEL = @TESTPARALLEL@
TIME = @TIME@
diff --git a/hl/examples/ex_table_01.c b/hl/examples/ex_table_01.c
index 836a708..1ffcb22 100644
--- a/hl/examples/ex_table_01.c
+++ b/hl/examples/ex_table_01.c
@@ -127,7 +127,10 @@ int main( void )
*-------------------------------------------------------------------------
*/
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_02.c b/hl/examples/ex_table_02.c
index e107754..1ef661c 100644
--- a/hl/examples/ex_table_02.c
+++ b/hl/examples/ex_table_02.c
@@ -121,7 +121,10 @@ int main( void )
printf ("\n");
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_03.c b/hl/examples/ex_table_03.c
index 111ee68..af3894e 100644
--- a/hl/examples/ex_table_03.c
+++ b/hl/examples/ex_table_03.c
@@ -127,7 +127,10 @@ int main( void )
printf ("\n");
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_04.c b/hl/examples/ex_table_04.c
index f10f526..10d888f 100644
--- a/hl/examples/ex_table_04.c
+++ b/hl/examples/ex_table_04.c
@@ -153,7 +153,10 @@ int main( void )
*-------------------------------------------------------------------------
*/
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_05.c b/hl/examples/ex_table_05.c
index 1fa0d93..ee671e0 100644
--- a/hl/examples/ex_table_05.c
+++ b/hl/examples/ex_table_05.c
@@ -164,7 +164,10 @@ int main( void )
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_06.c b/hl/examples/ex_table_06.c
index c1eedd6..e2e1038 100644
--- a/hl/examples/ex_table_06.c
+++ b/hl/examples/ex_table_06.c
@@ -85,7 +85,10 @@ int main( void )
/* print */
printf ("Table has %d fields and %d records\n",(int)nfields_out,(int)nrecords_out);
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_07.c b/hl/examples/ex_table_07.c
index 22e3396..1be9f13 100644
--- a/hl/examples/ex_table_07.c
+++ b/hl/examples/ex_table_07.c
@@ -103,7 +103,10 @@ int main( void )
/* print */
printf ("Table has %d fields and %d records\n",(int)nfields_out,(int)nrecords_out);
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_08.c b/hl/examples/ex_table_08.c
index 4e1d754..6ec0ac1 100644
--- a/hl/examples/ex_table_08.c
+++ b/hl/examples/ex_table_08.c
@@ -134,7 +134,10 @@ int main( void )
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_09.c b/hl/examples/ex_table_09.c
index c8a7118..82dca3f 100644
--- a/hl/examples/ex_table_09.c
+++ b/hl/examples/ex_table_09.c
@@ -135,7 +135,10 @@ int main( void )
printf ("\n");
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_10.c b/hl/examples/ex_table_10.c
index c4df6fe3..fb11a98 100644
--- a/hl/examples/ex_table_10.c
+++ b/hl/examples/ex_table_10.c
@@ -127,7 +127,10 @@ int main( void )
printf ("\n");
}
- /* Close the file */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_11.c b/hl/examples/ex_table_11.c
index 91cab7a..7679ac6 100644
--- a/hl/examples/ex_table_11.c
+++ b/hl/examples/ex_table_11.c
@@ -107,7 +107,10 @@ int main( void )
/* print */
printf ("Table has %d fields and %d records\n",(int)nfields_out,(int)nrecords_out);
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;
diff --git a/hl/examples/ex_table_12.c b/hl/examples/ex_table_12.c
index 4601312..b4a5a3a 100644
--- a/hl/examples/ex_table_12.c
+++ b/hl/examples/ex_table_12.c
@@ -100,7 +100,10 @@ int main( void )
/* print */
printf ("Table has %d fields and %d records\n",(int)nfields_out,(int)nrecords_out);
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;