Skip to content

Commit

Permalink
Apply pkgsrc patch
Browse files Browse the repository at this point in the history
Set the SA_RESTART flag on SIGALRM so that it will not interrupt
writes to the console causing loss of console data.
  • Loading branch information
ryoon committed Jul 28, 2019
1 parent a1f8a7d commit 61000e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/old_main/timer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ void timer_start(void)

memset(&saction, 0, sizeof(saction));
saction.sa_handler = timer_tick;
saction.sa_flags = SA_RESTART;

sigaction(SIGALRM, &saction, NULL);

Expand Down

0 comments on commit 61000e3

Please sign in to comment.