From b42927889cbe7252e0cb920ddcaf6542ae0dd396 Mon Sep 17 00:00:00 2001 From: Reinhard Prix Date: Tue, 11 Sep 2007 17:40:03 +0000 Subject: [PATCH] - initialize local 'struct sigaction' variable to zero ({0}) in xwin_graphics_event_loop() svn path=/trunk/boinc/; revision=13566 --- api/x_opengl.C | 2 +- checkin_notes | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/api/x_opengl.C b/api/x_opengl.C index 7548d9b129..9a66070a93 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -593,7 +593,7 @@ void xwin_graphics_event_loop() { if (debug) fprintf(stderr, "Direct call to xwin_graphics_event_loop()\n"); - struct sigaction sa; + struct sigaction sa = {0}; memset(&sa, 0, sizeof(sa)); sa.sa_handler = restart_sig; sa.sa_flags = SA_RESTART; diff --git a/checkin_notes b/checkin_notes index 99698a1a5f..af41cbc6d1 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8383,3 +8383,11 @@ David 11 Sept 2007 html/ops/ user_graph.php + +Reinhard 11 Sept 2007 + - initialize local 'struct sigaction' variable to zero in xwin_graphics_event_loop() + + api/ + x_opengl.C + + \ No newline at end of file