summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-12 01:49:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-12 01:49:59 (GMT)
commit2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860 (patch)
tree1c684269c08fefef3a4446fede48cf39566e0cd9 /bin
parentf98b337a92b4367695ee0da8f0082a79633139ac (diff)
downloadhdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.zip
hdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.tar.gz
hdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.tar.bz2
[svn-r13047] Description:
Add "attribute exists" internal routine to make verifying that an attribute with the same name doesn't already exist easier. Tweak "trace" script to produce more whitespace in H5TRACE macros, in order to make them easier to read. Minor other whitespace cleanups Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/trace4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/trace b/bin/trace
index 241e6dd..445e5a2 100755
--- a/bin/trace
+++ b/bin/trace
@@ -228,7 +228,7 @@ sub rewrite_func ($$$$$) {
}
}
}
- $trace = "H5TRACE" . scalar(@arg_str) . "(\"$rettype\",\"";
+ $trace = "H5TRACE" . scalar(@arg_str) . "(\"$rettype\", \"";
$trace .= join("", @arg_str) . "\"";
my $len = 4 + length $trace;
for (@arg_name) {
@@ -236,7 +236,7 @@ sub rewrite_func ($$$$$) {
$trace .= ",\n $_";
$len = 13 + length;
} else {
- $trace .= ",$_";
+ $trace .= ", $_";
$len += 1 + length;
}
}