* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only

declare when have SIGTTOU.
This commit is contained in:
Andrew Cagney
2001-02-14 16:57:29 +00:00
parent 407443a31c
commit 4b69c284e7
2 changed files with 8 additions and 1 deletions

@ -1,3 +1,8 @@
2001-02-14 Andrew Cagney <ac131313@redhat.com>
* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
declare when have SIGTTOU.
2001-02-14 Eli Zaretskii <eliz@is.elta.co.il> 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*. * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.

@ -317,9 +317,11 @@ terminal_ours_1 (int output_only)
if (!terminal_is_ours) if (!terminal_is_ours)
{ {
#ifdef SIGTTOU
/* Ignore this signal since it will happen when we try to set the /* Ignore this signal since it will happen when we try to set the
pgrp. */ pgrp. */
void (*osigttou) (); void (*osigttou) () = NULL;
#endif
int result; int result;
terminal_is_ours = 1; terminal_is_ours = 1;