Debug printouts

This commit is contained in:
Magnus Svensson 2008-08-11 10:41:23 +02:00
parent 75b4bdef13
commit 93d835213e
2 changed files with 5 additions and 2 deletions

View file

@ -66,7 +66,9 @@ sub mixed_path {
my ($path)= @_;
if (IS_CYGWIN){
return unless defined $path;
$path= `cygpath -m $path`;
my $cmd= "cygpath -m $path";
print "$cmd\n";
$path= `$cmd`;
chomp $path;
}
return $path;

View file

@ -88,7 +88,8 @@ sub mtr_get_unique_id($$) {
msg("taken: $id, $pid");
# Check if process with given pid is alive
if(!process_alive($pid)) {
msg("Removing slot $id used by missing process $pid");;
print "Removing slot $id used by missing process $pid\n";
msg("Removing slot $id used by missing process $pid");
delete $taken{$id};
$changed++;
}