Diff
Not logged in

Differences From Artifact [bdd3d4d83c822b4b]:

To Artifact [ac9f211f019469de]:


50 50 string log; 51 51 long[] score_log; 52 52 bool flushed; 53 53 54 54 string s_log; 55 55 long[] s_score_log; 56 56 57 - void flush() 57 + void flush() nothrow 58 58 { 59 59 if(flushed) 60 60 return; 61 61 62 62 Tuple!(long, int, immutable(char)*) cand; 63 63 cand[0] = long.min; 64 64 ................................................................................ 77 77 private: 78 78 static __gshared GuardedOutput g_output; 79 79 80 80 void setup_sigint_handling() 81 81 { 82 82 assert(g_output is null); 83 83 g_output = this; 84 - extern(C) static void catch_sigint(int) { g_output.flush(); application_exit(); } 84 + extern(C) nothrow @system static void catch_sigint(int) { g_output.flush(); application_exit(); } 85 85 core.stdc.signal.signal(SIGINT, &catch_sigint); 86 86 } 87 87 }