- initialize local 'struct sigaction' variable to zero ({0}) in xwin_graphics_event_loop()

svn path=/trunk/boinc/; revision=13566
This commit is contained in:
Reinhard Prix 2007-09-11 17:40:03 +00:00
parent b1cd060e07
commit b42927889c
2 changed files with 9 additions and 1 deletions

View File

@ -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;

View File

@ -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