diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-19 15:28:01 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-19 15:28:01 +1100 |
commit | 293ee3c9f0796d99ebb033735f0e315f2e0180bf (patch) | |
tree | 61076f28d8f86a6f8599f8e7a1c05057641eac94 | |
parent | 2aca159d05f9e7880d1d8f1ce49a218840057f53 (diff) |
- dtucker@cvs.openbsd.org 2014/01/18 09:36:26
[session.c]
explicitly define USE_PIPES to 1 to prevent redefinition warnings in
portable on platforms that use pipes for everything. From redhat @
redhat.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | session.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -3,6 +3,10 @@ | |||
3 | - dtucker@cvs.openbsd.org 2014/01/17 06:23:24 | 3 | - dtucker@cvs.openbsd.org 2014/01/17 06:23:24 |
4 | [sftp-server.c] | 4 | [sftp-server.c] |
5 | fix log message statvfs. ok djm | 5 | fix log message statvfs. ok djm |
6 | - dtucker@cvs.openbsd.org 2014/01/18 09:36:26 | ||
7 | [session.c] | ||
8 | explicitly define USE_PIPES to 1 to prevent redefinition warnings in | ||
9 | portable on platforms that use pipes for everything. | ||
6 | 10 | ||
7 | 20140118 | 11 | 20140118 |
8 | - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch | 12 | - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.268 2013/10/29 09:48:02 djm Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.269 2014/01/18 09:36:26 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -441,7 +441,7 @@ do_authenticated1(Authctxt *authctxt) | |||
441 | } | 441 | } |
442 | } | 442 | } |
443 | 443 | ||
444 | #define USE_PIPES | 444 | #define USE_PIPES 1 |
445 | /* | 445 | /* |
446 | * This is called to fork and execute a command when we have no tty. This | 446 | * This is called to fork and execute a command when we have no tty. This |
447 | * will call do_child from the child, and server_loop from the parent after | 447 | * will call do_child from the child, and server_loop from the parent after |