- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]

Remove two obsolete Cygwin #ifdefs.  Patch from vinschen at redhat.com.
This commit is contained in:
Darren Tucker 2005-02-26 10:04:28 +11:00
parent 848b993639
commit 34233830a1
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,8 @@
20050222
20050226
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
20050224
- (djm) [configure.ac] in_addr_t test needs sys/types.h too
20050222
@ -2163,4 +2167,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3663 2005/02/24 01:12:34 djm Exp $
$Id: ChangeLog,v 1.3664 2005/02/25 23:04:28 dtucker Exp $

View File

@ -102,7 +102,6 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
return (-1);
}
#ifndef HAVE_CYGWIN
/*
* Try to push the appropriate streams modules, as described
* in Solaris pts(7).
@ -112,7 +111,6 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp,
# ifndef __hpux
ioctl(*aslave, I_PUSH, "ttcompat");
# endif /* __hpux */
#endif /* HAVE_CYGWIN */
return (0);

View File

@ -35,9 +35,7 @@ static char rcsid[] = "$OpenBSD: inet_ntop.c,v 1.5 2002/08/23 16:27:31 itojun Ex
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#ifndef HAVE_CYGWIN
#include <arpa/nameser.h>
#endif
#include <string.h>
#include <errno.h>
#include <stdio.h>