2009-02-16 01:14:51 +01:00
|
|
|
Index: cscope-15.7/src/mypopen.c
|
|
|
|
===================================================================
|
|
|
|
--- cscope-15.7.orig/src/mypopen.c
|
|
|
|
+++ cscope-15.7/src/mypopen.c
|
|
|
|
@@ -160,7 +160,7 @@ mypopen(char *cmd, char *mode)
|
2007-01-16 00:08:09 +01:00
|
|
|
fcntl(yourside, F_DUPFD, stdio);
|
|
|
|
#endif
|
|
|
|
close(yourside);
|
|
|
|
- execlp(shell, mybasename(shell), "-c", cmd, (void *)0);
|
|
|
|
+ execlp(shell, mybasename(shell), "-c", cmd, NULL);
|
|
|
|
_exit(1);
|
|
|
|
} else if (pid > 0)
|
|
|
|
tstat = signal(SIGTSTP, SIG_DFL);
|