summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-06-09 21:29:04 (GMT)
committerGitHub <noreply@github.com>2022-06-09 21:29:04 (GMT)
commit0311d4c00a14ad2268c3b2aaa4a248c423afdbc8 (patch)
tree5fd961a0cf50912145cb0e2420566913170726d4 /examples
parentb2794b474acaf9050b03239502056bdd34975db8 (diff)
downloadhdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.zip
hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.gz
hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.bz2
Hdf5 1 10 sync (#1795)
* Branch sync updates and spelling * Revert format of getenv
Diffstat (limited to 'examples')
-rw-r--r--examples/testh5cc.sh.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in
index 5af0453..8349cae 100644
--- a/examples/testh5cc.sh.in
+++ b/examples/testh5cc.sh.in
@@ -77,7 +77,7 @@ applib=libapp${H5TOOL}.a
# short hands
# Caution: if some *.h5 files must be cleaned here, list them by names.
# Don't use the wildcard form of *.h5 as it will wipe out even *.h5 generated
-# by otehr test programs. This will cause a racing condition error when
+# by other test programs. This will cause a racing condition error when
# parallel make (e.g., gmake -j 4) is used.
temp_SRC="$hdf5main $v16main $v18main $v110main $appmain $prog1 $prog2"
temp_OBJ=`echo $temp_SRC | sed -e "s/\.${suffix}/.o/g"`
@@ -112,6 +112,8 @@ EOF
# generate prog1
cat > $prog1 <<EOF
+#include <stdio.h>
+void
sub1(void)
{
printf("in sub1\n");
@@ -120,6 +122,8 @@ EOF
# generate prog2
cat > $prog2 <<EOF
+#include <stdio.h>
+void
sub2(void)
{
printf("in sub2\n");