summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-09 17:13:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-09 17:13:39 (GMT)
commitb68be568be0f1d2e022c13a8c0e205c68d645503 (patch)
treeea7896e2b73e313ec67b649641691ee1980182fb /bin
parent4fe4a51818747e067919c5d9b043395a2f4d04dc (diff)
downloadhdf5-b68be568be0f1d2e022c13a8c0e205c68d645503.zip
hdf5-b68be568be0f1d2e022c13a8c0e205c68d645503.tar.gz
hdf5-b68be568be0f1d2e022c13a8c0e205c68d645503.tar.bz2
[svn-r7187] Purpose:
Update code Description: Allow there to be no ';' after a FUNC_ENTER* macro Platforms tested: FreeBSD 4.8 (sleipnir) Linux 2.4 (verbena)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/trace2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/trace b/bin/trace
index 5893505..bad190c 100755
--- a/bin/trace
+++ b/bin/trace
@@ -226,7 +226,7 @@ sub rewrite_func ($$$$$) {
}
} 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*\s*\(.*?\)[;])\n/"$1$2$trace"/es) {
# Added an H5TRACE macro after a FUNC_ENTER macro.
} else {
errmesg $file, $name, "unable to insert tracing information";