# OK, so we're gonna do the normal thing...
if ($Cachegrind eq 'yes') {
- $CachegrindPrefix = "cachegrind --logfile-fd=99 99>$CachegrindStats";
+ $CachegrindPrefix = "valgrind --skin=cachegrind --logfile-fd=99 99>$CachegrindStats";
} else {
$CachegrindPrefix = '';
}
sub grab_arg_arg {
local($option, $rest_of_arg) = @_;
- if ($rest_of_arg) {
+ if ($rest_of_arg ne "") {
return($rest_of_arg);
} elsif ($#ARGV >= 0) {
local($temp) = $ARGV[0]; shift(@ARGV);