[openssh-commits] [openssh] 01/01: only support SIGINFO on systems with SIGINFO

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 2 22:50:02 AEST 2018


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit ff3a411cae0b484274b7900ef52ff4dad3e12876
Author: Damien Miller <djm at mindrot.org>
Date:   Tue Oct 2 22:49:40 2018 +1000

    only support SIGINFO on systems with SIGINFO
---
 session.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/session.c b/session.c
index 63adc68c..c5ca0556 100644
--- a/session.c
+++ b/session.c
@@ -2120,8 +2120,10 @@ name2sig(char *name)
 	SSH_SIG(USR1);
 	SSH_SIG(USR2);
 #undef	SSH_SIG
+#ifdef SIGINFO
 	if (strcmp(name, "INFO at openssh.com") == 0)
 		return SIGINFO;
+#endif
 	return -1;
 }
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list