klish: add new package (2.1.1)
[feed/packages.git] / utils / klish / patches / 010-shell_execute_fix.patch
1 --- a/clish/shell/shell_execute.c
2 +++ b/clish/shell/shell_execute.c
3 @@ -19,13 +19,6 @@
4 #include <signal.h>
5 #include <fcntl.h>
6
7 -/* Empty signal handler to ignore signal but don't use SIG_IGN. */
8 -static void sigignore(int signo)
9 -{
10 - signo = signo; /* Happy compiler */
11 - return;
12 -}
13 -
14 /*-------------------------------------------------------- */
15 static int clish_shell_lock(const char *lock_path)
16 {