diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-02-14 16:57:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-02-14 16:57:29 +0000 |
commit | 4b69c284e7a6d448ba1a0416a291df191835fd48 (patch) | |
tree | 366fde734c80cf8deaf052c9cc7c0c6de880a367 /gdb | |
parent | 407443a31c6523427f8c252378d95dcd04c68678 (diff) | |
download | gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.zip gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.tar.gz gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.tar.bz2 |
* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
declare when have SIGTTOU.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/inflow.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c6b8f0..95d879c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*. diff --git a/gdb/inflow.c b/gdb/inflow.c index 4f751e8..2517f97 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -317,9 +317,11 @@ terminal_ours_1 (int output_only) if (!terminal_is_ours) { +#ifdef SIGTTOU /* Ignore this signal since it will happen when we try to set the pgrp. */ - void (*osigttou) (); + void (*osigttou) () = NULL; +#endif int result; terminal_is_ours = 1; |