summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-10-27 22:38:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-10-27 22:38:32 (GMT)
commit50dd616eb5fda775d3b283be14229698eb937df2 (patch)
tree7e7cd5be40878fa1ff938115d813578379c65fd7 /bin
parent9bc6644ed194addfd528870de3f41fbd2d49e711 (diff)
downloadhdf5-50dd616eb5fda775d3b283be14229698eb937df2.zip
hdf5-50dd616eb5fda775d3b283be14229698eb937df2.tar.gz
hdf5-50dd616eb5fda775d3b283be14229698eb937df2.tar.bz2
Correct error with parsing of "FUNC_ENTER_API_NOINIT"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/trace2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/trace b/bin/trace
index 1ed1678..fa7090b 100755
--- a/bin/trace
+++ b/bin/trace
@@ -315,7 +315,7 @@ sub rewrite_func ($$$$$) {
# Ignored due to NO TRACE comment.
} elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) {
# Replaced an H5TRACE macro.
- } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*(\(.*?\))?;??)\n/"$1$2$trace"/es) {
+ } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*[ \t]*(\(.*?\))?;??)\n/"$1$2$trace"/es) {
# Added an H5TRACE macro after a FUNC_ENTER macro.
} else {
errmesg $file, $name, "unable to insert tracing information";