diff options
-rw-r--r-- | src/menus.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/menus.c b/src/menus.c index e311454..e23b5ff 100644 --- a/src/menus.c +++ b/src/menus.c @@ -2337,28 +2337,6 @@ NeedToDefer(MenuRoot *root) -#if defined(sun) && defined(SVR4) -#include <sys/wait.h> - -/** - * execute the string by /bin/sh - * \param s the string containing the command - */ -static int -System (const char *s) -{ - int pid, status; - if ((pid = fork ()) == 0) { - (void) setpgrp(); - execl ("/bin/sh", "sh", "-c", s, NULL); - } else - waitpid (pid, &status, 0); - return status; -} -#define system(s) System(s) - -#endif - static void Execute(const char *s) { |