From 5b7149ce526aa327981928baf590f6b55b45f5c9 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Tue, 23 Nov 2004 00:57:35 +0000 Subject: [PATCH] fixing sigaction usage --- cscope-15.5-resize.patch | 3 +-- cscope.spec | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cscope-15.5-resize.patch b/cscope-15.5-resize.patch index cab2e43..074e84c 100644 --- a/cscope-15.5-resize.patch +++ b/cscope-15.5-resize.patch @@ -89,7 +89,7 @@ int main(int argc, char **argv) { -@@ -131,12 +160,20 @@ +@@ -131,12 +160,19 @@ int c, i; pid_t pid; struct stat stat_buf; @@ -103,7 +103,6 @@ + winch_action.sa_sigaction = sigwinch_handler; + sigemptyset(&winch_action.sa_mask); + winch_action.sa_flags = SA_SIGINFO; -+ winch_action.sa_restorer = NULL; + + sigaction(SIGWINCH,&winch_action,NULL); + diff --git a/cscope.spec b/cscope.spec index 04d1297..ea2ccb5 100644 --- a/cscope.spec +++ b/cscope.spec @@ -34,7 +34,7 @@ matches for use in file editing. %patch2 -p1 %patch3 -p1 %patch4 -p1 -#%patch5 -p1 +%patch5 -p1 %build %configure