summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-26 10:04:28 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-26 10:04:28 +1100
commit34233830a1f42e95ddad5ff1cff9f9024d422861 (patch)
treed7876b18917dd7508df46f464f64394cafd073ee
parent848b99363987c3cc7abffb182d519dbea8c4f8ab (diff)
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
-rw-r--r--ChangeLog8
-rw-r--r--openbsd-compat/bsd-openpty.c2
-rw-r--r--openbsd-compat/inet_ntop.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index bb126761d..f12f6f906 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
120050222 120050226
2 - (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
3 Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
4
520050224
2 - (djm) [configure.ac] in_addr_t test needs sys/types.h too 6 - (djm) [configure.ac] in_addr_t test needs sys/types.h too
3 7
420050222 820050222
@@ -2163,4 +2167,4 @@
2163 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2167 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2164 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2168 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2165 2169
2166$Id: ChangeLog,v 1.3663 2005/02/24 01:12:34 djm Exp $ 2170$Id: ChangeLog,v 1.3664 2005/02/25 23:04:28 dtucker Exp $
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c
index daf5f8b81..8eb62b7a8 100644
--- a/openbsd-compat/bsd-openpty.c
+++ b/openbsd-compat/bsd-openpty.c
@@ -102,7 +102,6 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
102 return (-1); 102 return (-1);
103 } 103 }
104 104
105#ifndef HAVE_CYGWIN
106 /* 105 /*
107 * Try to push the appropriate streams modules, as described 106 * Try to push the appropriate streams modules, as described
108 * in Solaris pts(7). 107 * in Solaris pts(7).
@@ -112,7 +111,6 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
112# ifndef __hpux 111# ifndef __hpux
113 ioctl(*aslave, I_PUSH, "ttcompat"); 112 ioctl(*aslave, I_PUSH, "ttcompat");
114# endif /* __hpux */ 113# endif /* __hpux */
115#endif /* HAVE_CYGWIN */
116 114
117 return (0); 115 return (0);
118 116
diff --git a/openbsd-compat/inet_ntop.c b/openbsd-compat/inet_ntop.c
index 7031625b4..47796c370 100644
--- a/openbsd-compat/inet_ntop.c
+++ b/openbsd-compat/inet_ntop.c
@@ -35,9 +35,7 @@ static char rcsid[] = "$OpenBSD: inet_ntop.c,v 1.5 2002/08/23 16:27:31 itojun Ex
35#include <sys/socket.h> 35#include <sys/socket.h>
36#include <netinet/in.h> 36#include <netinet/in.h>
37#include <arpa/inet.h> 37#include <arpa/inet.h>
38#ifndef HAVE_CYGWIN
39#include <arpa/nameser.h> 38#include <arpa/nameser.h>
40#endif
41#include <string.h> 39#include <string.h>
42#include <errno.h> 40#include <errno.h>
43#include <stdio.h> 41#include <stdio.h>