summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-03-24 03:55:18 (GMT)
committerGitHub <noreply@github.com>2023-03-24 03:55:18 (GMT)
commit7fd9a4435f80fad41992f1e71b94c4ff2be887ba (patch)
tree4a42b7ae1df8089afb2983b5b985236ced6820ce /bin
parentaf2666013f548ec41263bd164ab03741086ba563 (diff)
downloadhdf5-7fd9a4435f80fad41992f1e71b94c4ff2be887ba.zip
hdf5-7fd9a4435f80fad41992f1e71b94c4ff2be887ba.tar.gz
hdf5-7fd9a4435f80fad41992f1e71b94c4ff2be887ba.tar.bz2
Fix minor things noted when doing 1.10 merges (#2610)
* Duplicated HDF_RESOURCES_DIR from cmake_ext_mod merge * Typos in comments
Diffstat (limited to 'bin')
-rwxr-xr-xbin/checkposix4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/checkposix b/bin/checkposix
index ee12d44..bb6b81b 100755
--- a/bin/checkposix
+++ b/bin/checkposix
@@ -103,7 +103,7 @@ foreach $arg (@ARGV) {
# Now find all function calls on this line which don't start with 'H'
while (($name)=/\b([a-z_A-GI-Z]\w*)\s*\(/) {
$_ = $';
-
+
# Ignore C statements that look sort of like function
# calls.
next if $name =~ /^(if|for|offsetof|return|sizeof|switch|while|void)$/;
@@ -186,7 +186,7 @@ foreach $arg (@ARGV) {
}
# TESTING (not comprehensive - just noise reduction)
-
+
# Test macros and functions (testhdf5.h)
next if $name =~ /^(AddTest|TestErrPrintf|TestSummary|TestCleanup|TestShutdown)$/;
next if $name =~ /^(CHECK|CHECK_PTR|CHECK_PTR_NULL|CHECK_PTR_EQ|CHECK_I)$/;