[session.c]
     correct boolean encoding for coredump; der Mouse via dugsong
This commit is contained in:
Damien Miller 2008-03-07 18:32:42 +11:00
parent 2ee0c43f98
commit 767087b8ec
2 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,9 @@
When started in configuration test mode (-t) do not check that sshd is
being started with an absolute path.
ok djm
- markus@cvs.openbsd.org 2008/02/20 15:25:26
[session.c]
correct boolean encoding for coredump; der Mouse via dugsong
20080302
- (dtucker) [configure.ac] FreeBSD's glob() doesn't behave the way we expect
@ -3674,4 +3677,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4853 2008/03/07 07:31:47 djm Exp $
$Id: ChangeLog,v 1.4854 2008/03/07 07:32:42 djm Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: session.c,v 1.228 2008/02/13 22:38:17 djm Exp $ */
/* $OpenBSD: session.c,v 1.229 2008/02/20 15:25:26 markus Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@ -2317,7 +2317,7 @@ session_exit_message(Session *s, int status)
channel_request_start(s->chanid, "exit-signal", 0);
packet_put_cstring(sig2name(WTERMSIG(status)));
#ifdef WCOREDUMP
packet_put_char(WCOREDUMP(status));
packet_put_char(WCOREDUMP(status)? 1 : 0);
#else /* WCOREDUMP */
packet_put_char(0);
#endif /* WCOREDUMP */