summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-05-21 17:06:46 +1000
committerDamien Miller <djm@mindrot.org>2014-05-21 17:06:46 +1000
commit18912775cb97c0b1e75e838d3c7d4b56648137b5 (patch)
tree4f9680415a0fa5588caf9d0fc6246e322f515979 /defines.h
parent7f1c264d3049cd95234e91970ccb5406e1d15b27 (diff)
- (djm) [commit configure.ac defines.h sshpty.c] don't attempt to use
vhangup on Linux. It doens't work for non-root users, and for them it just messes up the tty settings.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/defines.h b/defines.h
index 9e383020..b3df1e23 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.179 2014/05/15 04:37:04 djm Exp $ */
+/* $Id: defines.h,v 1.180 2014/05/21 07:06:47 djm Exp $ */
/* Constants */
@@ -603,10 +603,6 @@ struct winsize {
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */
-#if defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX)
-# define USE_VHANGUP
-#endif /* defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) */
-
#ifndef GETPGRP_VOID
# include <unistd.h>
# define getpgrp() getpgrp(0)