# HG changeset patch # User John "Elwin" Edwards # Date 1506734510 14400 # Node ID 3b61f1dfcc91bc68b9496ddfd01a9f13960d1fff # Parent 17005af499637320c1c79a272b118a7444f9cd78 UltraRogue: don't swap signal handlers. In md_shellescape(), signal handlers for SIGINT and SIGQUIT were saved and restored, but exchanged in the process. This was fixed in the other games by commit 600873555ec0. Deleting md_shellescape() might have been a better fix. It is apparently unused. diff -r 17005af49963 -r 3b61f1dfcc91 urogue/mdport.c --- a/urogue/mdport.c Sat Sep 23 09:47:00 2017 -0400 +++ b/urogue/mdport.c Fri Sep 29 21:21:50 2017 -0400 @@ -397,9 +397,9 @@ while (wait(&ret_status) != pid) continue; - signal(SIGINT, myquit); + signal(SIGINT, myend); #ifdef SIGQUIT - signal(SIGQUIT, myend); + signal(SIGQUIT, myquit); #endif }