(putenv): Make result type void.

(main): Don't call signal for undefined signal names.

From-SVN: r4139
This commit is contained in:
Richard Kenner 1993-04-13 17:17:19 -04:00
parent aa830baff1
commit 2a353d3a5e

View File

@ -1371,6 +1371,7 @@ choose_temp_base ()
#ifndef HAVE_PUTENV
void
putenv (str)
char *str;
{
@ -2970,8 +2971,6 @@ do_spec_1 (spec, inswitch, soft_matched_part)
}
break;
/* Here are digits and numbers that just process
a certain constant string as a spec.
/* Here are digits and numbers that just process
a certain constant string as a spec. */
@ -3578,8 +3577,10 @@ main (argc, argv)
if (signal (SIGINT, SIG_IGN) != SIG_IGN)
signal (SIGINT, fatal_error);
#ifdef SIGHUP
if (signal (SIGHUP, SIG_IGN) != SIG_IGN)
signal (SIGHUP, fatal_error);
#endif
if (signal (SIGTERM, SIG_IGN) != SIG_IGN)
signal (SIGTERM, fatal_error);
#ifdef SIGPIPE