error ("*** [%s] %s%s",
target_name, strsignal (exit_sig),
coredump ? " (core dumped)" : "");
-#endif
+#endif /* VMS */
}
\f
static unsigned int dead_children = 0;
fflush (stdout);
fflush (stderr);
+#ifndef _AMIGA
#ifndef VMS
/* Set up a bad standard input that reads from a broken pipe. */
}
}
+#endif /* !AMIGA */
+
/* Decide whether to give this child the `good' standard input
(one that points to the terminal or whatever), or the `bad' one
that points to the read side of a broken pipe. */
if (child->good_stdin)
good_stdin_used = 1;
-#endif /* !VMS */
+#endif /* Not VMS */
child->deleted = 0;
static int
load_too_high ()
{
-#if defined(__MSDOS__) || defined(VMS)
+#if defined(__MSDOS__) || defined(VMS) || defined(_AMIGA)
return 1;
#else
double load;
#else /* !VMS */
+#ifndef _AMIGA
/* UNIX:
Replace the current process with one executing the command in ARGV.
STDIN_FD and STDOUT_FD are used as the process's stdin and stdout; ENVP is
/* Run the command. */
exec_command (argv, envp);
}
+#endif /* !AMIGA */
#endif /* !VMS */
\f
+#ifndef _AMIGA
/* Replace the current process with one running the command in ARGV,
with environment ENVP. This function does not return. */
_exit (127);
#endif /* !VMS */
}
+#else /* On Amiga */
+void exec_command (argv)
+ char **argv;
+{
+ MyExecute (argv);
+}
+
+void clean_tmp (void)
+{
+ DeleteFile (amiga_bname);
+}
+
+#endif /* An Amiga */
\f
#ifndef VMS
/* Figure out the argument list necessary to run LINE as a command. Try to