[openssh-commits] [openssh] 03/04: upstream: Signal handler cleanup: remove leftover support for
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Oct 29 20:49:14 AEDT 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 2046ed16c1202431b0307674c33a123a113e8297
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Tue Oct 29 07:47:27 2019 +0000
upstream: Signal handler cleanup: remove leftover support for
unreliable signals and now-unneeded save and restore of errno. ok deraadt@
markus@
OpenBSD-Commit-ID: 01dd8a1ebdd991c8629ba1f5237283341a93cd88
---
progressmeter.c | 4 +---
sshd.c | 5 +----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/progressmeter.c b/progressmeter.c
index 0e58edde..72f40f8f 100644
--- a/progressmeter.c
+++ b/progressmeter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: progressmeter.c,v 1.48 2019/05/03 06:06:30 dtucker Exp $ */
+/* $OpenBSD: progressmeter.c,v 1.49 2019/10/29 07:47:27 dtucker Exp $ */
/*
* Copyright (c) 2003 Nils Nordman. All rights reserved.
*
@@ -233,7 +233,6 @@ refresh_progress_meter(int force_update)
static void
sig_alarm(int ignore)
{
- signal(SIGALRM, sig_alarm);
alarm_fired = 1;
alarm(UPDATE_INTERVAL);
}
@@ -277,7 +276,6 @@ stop_progress_meter(void)
static void
sig_winch(int sig)
{
- signal(SIGWINCH, sig_winch);
win_resized = 1;
}
diff --git a/sshd.c b/sshd.c
index 11571c01..cf7af1c6 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.537 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: sshd.c,v 1.538 2019/10/29 07:47:27 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -295,10 +295,7 @@ close_startup_pipes(void)
static void
sighup_handler(int sig)
{
- int save_errno = errno;
-
received_sighup = 1;
- errno = save_errno;
}
/*
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list