From 96fe1684f26f579d2e7138b5e08fbb9b303ac62f Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Sat, 20 May 1995 22:47:43 +0000 Subject: [PATCH] #if 0 out PHK's code until we can find a way of making it crunchgen dependant so that standalone builds aren't hosed. --- release/sysinstall/system.c | 9 ++++++--- usr.sbin/sade/system.c | 9 ++++++--- usr.sbin/sysinstall/system.c | 9 ++++++--- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c index b25888f7567b..a0092aa9d49b 100644 --- a/release/sysinstall/system.c +++ b/release/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.22 1995/05/20 13:24:35 jkh Exp $ + * $Id: system.c,v 1.23 1995/05/20 19:12:13 phk Exp $ * * Jordan Hubbard * @@ -276,6 +276,8 @@ systemChangeScreenmap(const u_char newmap[]) dialog_clear(); } } + +#if 0 /* Execute a command that is crunched into the same binary */ int vsystem(char *fmt, ...) @@ -328,10 +330,10 @@ vsystem(char *fmt, ...) free(cmd); return i; } - +#else /* Execute a system command, with varargs */ int -ssystem(char *fmt, ...) +vsystem(char *fmt, ...) { va_list args; union wait pstat; @@ -376,3 +378,4 @@ ssystem(char *fmt, ...) free(cmd); return i; } +#endif diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index b25888f7567b..a0092aa9d49b 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.22 1995/05/20 13:24:35 jkh Exp $ + * $Id: system.c,v 1.23 1995/05/20 19:12:13 phk Exp $ * * Jordan Hubbard * @@ -276,6 +276,8 @@ systemChangeScreenmap(const u_char newmap[]) dialog_clear(); } } + +#if 0 /* Execute a command that is crunched into the same binary */ int vsystem(char *fmt, ...) @@ -328,10 +330,10 @@ vsystem(char *fmt, ...) free(cmd); return i; } - +#else /* Execute a system command, with varargs */ int -ssystem(char *fmt, ...) +vsystem(char *fmt, ...) { va_list args; union wait pstat; @@ -376,3 +378,4 @@ ssystem(char *fmt, ...) free(cmd); return i; } +#endif diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index b25888f7567b..a0092aa9d49b 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.22 1995/05/20 13:24:35 jkh Exp $ + * $Id: system.c,v 1.23 1995/05/20 19:12:13 phk Exp $ * * Jordan Hubbard * @@ -276,6 +276,8 @@ systemChangeScreenmap(const u_char newmap[]) dialog_clear(); } } + +#if 0 /* Execute a command that is crunched into the same binary */ int vsystem(char *fmt, ...) @@ -328,10 +330,10 @@ vsystem(char *fmt, ...) free(cmd); return i; } - +#else /* Execute a system command, with varargs */ int -ssystem(char *fmt, ...) +vsystem(char *fmt, ...) { va_list args; union wait pstat; @@ -376,3 +378,4 @@ ssystem(char *fmt, ...) free(cmd); return i; } +#endif