mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
warnings for binary_open and binary_close. Patch from Corinna Vinschen.
This commit is contained in:
parent
607aede26c
commit
0646ca6be8
@ -17,6 +17,8 @@
|
|||||||
- (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
|
- (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
|
||||||
[openbsd-compat/rresvport.c] Some more headers: netinet/in.h
|
[openbsd-compat/rresvport.c] Some more headers: netinet/in.h
|
||||||
sys/socket.h and unistd.h in various places
|
sys/socket.h and unistd.h in various places
|
||||||
|
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
|
||||||
|
warnings for binary_open and binary_close. Patch from Corinna Vinschen.
|
||||||
|
|
||||||
20060831
|
20060831
|
||||||
- (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
|
- (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
|
||||||
@ -5368,4 +5370,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4522 2006/09/01 05:48:19 djm Exp $
|
$Id: ChangeLog,v 1.4523 2006/09/01 09:29:01 dtucker Exp $
|
||||||
|
@ -31,6 +31,13 @@
|
|||||||
|
|
||||||
#ifdef HAVE_CYGWIN
|
#ifdef HAVE_CYGWIN
|
||||||
|
|
||||||
|
#if defined(open) && open == binary_open
|
||||||
|
# undef open
|
||||||
|
#endif
|
||||||
|
#if defined(pipe) && open == binary_pipe
|
||||||
|
# undef pipe
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
@ -48,13 +55,6 @@
|
|||||||
#define ntsec_off(c) ((c) && strstr((c),"nontsec"))
|
#define ntsec_off(c) ((c) && strstr((c),"nontsec"))
|
||||||
#define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea"))
|
#define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea"))
|
||||||
|
|
||||||
#if defined(open) && open == binary_open
|
|
||||||
# undef open
|
|
||||||
#endif
|
|
||||||
#if defined(pipe) && open == binary_pipe
|
|
||||||
# undef pipe
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
binary_open(const char *filename, int flags, ...)
|
binary_open(const char *filename, int flags, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user