From 8b12e2b081e2d6d7925dd2ec0baa8da2b1cf0873 Mon Sep 17 00:00:00 2001 From: Alex Stratford <alexander3.stratford@live.uwe.ac.uk> Date: Thu, 28 Nov 2019 21:45:00 +0000 Subject: [PATCH] Comments out crashing code regarding SIGVTALRM in the Pintos script We have little clue on why this fails (it fails as soon as the argument parsing code is integrated into the project) It prevents Pintos program from running at all if left uncommented --- utils/pintos | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/utils/pintos b/utils/pintos index 16a725a..042f2a6 100755 --- a/utils/pintos +++ b/utils/pintos @@ -929,15 +929,15 @@ sub exec_setitimer { exit (1); } -sub SIGVTALRM { - use Config; - my $i = 0; - foreach my $name (split(' ', $Config{sig_name})) { - return $i if $name eq 'VTALRM'; - $i++; - } - return 0; -} +#sub SIGVTALRM { +# use Config; +# my $i = 0; +# foreach my $name (split(' ', $Config{sig_name})) { +# return $i if $name eq 'VTALRM'; +# $i++; +# } +# return 0; +#} # find_in_path ($program) # -- GitLab