cscope/cscope-null.patch

12 lines
329 B
Diff
Raw Normal View History

--- cscope-15.6/src/mypopen.c
+++ cscope-15.6/src/mypopen.c
@@ -160,7 +160,7 @@
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);