summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-03-07 18:32:42 +1100
committerDamien Miller <djm@mindrot.org>2008-03-07 18:32:42 +1100
commit767087b8ec996d690bbbed19279454e017418643 (patch)
tree7c5f824c8886fa9d9b620b866a55398b1f8c0454
parent2ee0c43f983f54dd0b224f0616d400789c46abb2 (diff)
- markus@cvs.openbsd.org 2008/02/20 15:25:26
[session.c] correct boolean encoding for coredump; der Mouse via dugsong
-rw-r--r--ChangeLog5
-rw-r--r--session.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 831fd37d7..40672c463 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@
14 When started in configuration test mode (-t) do not check that sshd is 14 When started in configuration test mode (-t) do not check that sshd is
15 being started with an absolute path. 15 being started with an absolute path.
16 ok djm 16 ok djm
17 - markus@cvs.openbsd.org 2008/02/20 15:25:26
18 [session.c]
19 correct boolean encoding for coredump; der Mouse via dugsong
17 20
1820080302 2120080302
19 - (dtucker) [configure.ac] FreeBSD's glob() doesn't behave the way we expect 22 - (dtucker) [configure.ac] FreeBSD's glob() doesn't behave the way we expect
@@ -3674,4 +3677,4 @@
3674 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3677 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3675 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3678 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3676 3679
3677$Id: ChangeLog,v 1.4853 2008/03/07 07:31:47 djm Exp $ 3680$Id: ChangeLog,v 1.4854 2008/03/07 07:32:42 djm Exp $
diff --git a/session.c b/session.c
index 589a15a6d..7a97ae8d6 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.c,v 1.228 2008/02/13 22:38:17 djm Exp $ */ 1/* $OpenBSD: session.c,v 1.229 2008/02/20 15:25:26 markus 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
@@ -2317,7 +2317,7 @@ session_exit_message(Session *s, int status)
2317 channel_request_start(s->chanid, "exit-signal", 0); 2317 channel_request_start(s->chanid, "exit-signal", 0);
2318 packet_put_cstring(sig2name(WTERMSIG(status))); 2318 packet_put_cstring(sig2name(WTERMSIG(status)));
2319#ifdef WCOREDUMP 2319#ifdef WCOREDUMP
2320 packet_put_char(WCOREDUMP(status)); 2320 packet_put_char(WCOREDUMP(status)? 1 : 0);
2321#else /* WCOREDUMP */ 2321#else /* WCOREDUMP */
2322 packet_put_char(0); 2322 packet_put_char(0);
2323#endif /* WCOREDUMP */ 2323#endif /* WCOREDUMP */