Please add sc OBS-URL: https://build.opensuse.org/request/show/80052 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/sc?expand=0&rev=1
14 lines
472 B
Diff
14 lines
472 B
Diff
Index: sc-7.16/cmds.c
|
|
===================================================================
|
|
--- sc-7.16.orig/cmds.c
|
|
+++ sc-7.16/cmds.c
|
|
@@ -2563,7 +2563,7 @@ openfile(char *fname, int *rpid, int *rf
|
|
(void) dup(pipefd[3]); /* connect to second pipe */
|
|
}
|
|
(void) signal(SIGINT, SIG_DFL); /* reset */
|
|
- (void) execl("/bin/sh", "sh", "-c", efname, 0);
|
|
+ (void) execl("/bin/sh", "sh", "-c", efname, NULL);
|
|
exit (-127);
|
|
} else { /* else parent */
|
|
*rpid = pid;
|