Browse Source

Fix bug in compile_parrot.pl's handling of exit codes

master
Jonathan "Duke" Leto 13 years ago
parent
commit
364bb8684a
  1. 2
      bin/compile_parrots.pl
  2. 0
      bin/new_cpp_parrot

2
bin/compile_parrots.pl

@ -39,7 +39,7 @@ sub handle_errors {
printf "Error: child died with signal %d, %s coredump\n",
($exit_code & 127), ($exit_code & 128) ? 'with' : 'without';
} else {
printf "Error: child exited with value %d\n", $? >> 8;
printf "Error: child exited with value %d\n", $exit_code >> 8;
}
}

0
bin/new_cpp_parrot

Loading…
Cancel
Save