summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-02 18:58:33 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-02 18:58:33 +0000
commitdd5c5a3ffe39267bc885a6ee23d5621df787427c (patch)
tree77ba9cb25b482eea0356aca0fb23b827d02ccc1a /scp.c
parent25a7785a3099b60289ee01f593aad2b988f0dfae (diff)
- (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/scp.c b/scp.c
index 401e400d..f8f123af 100644
--- a/scp.c
+++ b/scp.c
@@ -1111,11 +1111,7 @@ foregroundproc()
if (pgrp == -1)
pgrp = getpgrp();
-#ifdef HAVE_CYGWIN
- /*
- * Cygwin only supports tcgetpgrp() for getting the controlling tty
- * currently.
- */
+#ifdef HAVE_TCGETPGRP
return ((ctty_pgrp = tcgetpgrp(STDOUT_FILENO)) != -1 &&
ctty_pgrp == pgrp);
#else