# HG changeset patch # User cehoyos # Date 1282856784 0 # Node ID f1e3d7471ac8131eac0f3b7427b78ea8bce4edaf # Parent 6ccc2a35803011e768f19dcf42d4bfa76f62d211 Fix compilation with gcc 2.95.3 with some help by Reimar. diff -r 6ccc2a358030 -r f1e3d7471ac8 stream/cache2.c --- a/stream/cache2.c Thu Aug 26 19:24:18 2010 +0000 +++ b/stream/cache2.c Thu Aug 26 21:06:24 2010 +0000 @@ -366,7 +366,8 @@ static void cache_mainloop(cache_vars_t *s) { int sleep_count = 0; #if FORKED_CACHE - struct sigaction sa = { .sa_handler = SIG_IGN }; + struct sigaction sa = { 0 }; + sa.sa_handler = SIG_IGN; sigaction(SIGUSR1, &sa, NULL); #endif do {