summaryrefslogtreecommitdiff
path: root/bin/fuzz.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fuzz.pl')
-rwxr-xr-xbin/fuzz.pl15
1 files changed, 8 insertions, 7 deletions
diff --git a/bin/fuzz.pl b/bin/fuzz.pl
index 89a1133bf9a..142ed331f04 100755
--- a/bin/fuzz.pl
+++ b/bin/fuzz.pl
@@ -303,9 +303,9 @@ sub check_for_streams_include ()
if ($disable == 0
and /^\s*#\s*include\s*\"ace\/streams\.h\"/) {
print_error ("ace/streams.h included in $file on line $line");
- print STDERR " This file is very expensive in both ";
+ print STDERR " ace/streams.h is very expensive in both ";
print STDERR "compile-time and footprint. \n";
- print STDERR " Please consider including ace/iosfwd.h instead.\n";
+ print STDERR " Please consider including ace/iosfwd.h instead.\n\n";
}
}
close (FILE);
@@ -336,10 +336,10 @@ sub check_for_OS_h_include ()
if ($disable == 0
and /^\s*#\s*include\s*\"ace\/OS\.h\"/) {
print_error ("ace/OS.h included in $file on line $line");
- print STDERR " This file is very expensive in both ";
+ print STDERR " OS.h is very expensive in both ";
print STDERR "compile-time and footprint. \n";
print STDERR " Please consider including one of the ";
- print STDERR "OS_NS_*.h files instead.\n";
+ print STDERR "OS_NS_*.h files instead.\n\n";
}
}
close (FILE);
@@ -368,13 +368,14 @@ sub check_for_synch_include ()
$disable = 0;
}
if ($disable == 0
- and /^\s*#\s*include\s*\"(ace\/Synch.*\.h)\"/) {
+ and (/^\s*#\s*include\s*\"(ace\/Synch\.h)\"/
+ or /^\s*#\s*include\s*\"(ace\/Synch_T\.h)\"/)) {
my $synch = $1;
print_error ("$synch included in $file on line $line");
- print STDERR " This file is very expensive in both ";
+ print STDERR " $synch is very expensive in both ";
print STDERR "compile-time and footprint. \n";
print STDERR " Please consider including one of the ";
- print STDERR "individual synch files instead.\n";
+ print STDERR "individual synch files instead.\n\n";
}
}
close (FILE);