[packages/mosh] - new
adamg
adamg at pld-linux.org
Mon Sep 24 07:17:26 CEST 2018
commit d1ff338f9db259d1c8670423d990fcc47ee56706
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Sep 24 07:17:13 2018 +0200
- new
mosh-gcc8.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/mosh-gcc8.patch b/mosh-gcc8.patch
new file mode 100644
index 0000000..4886c1b
--- /dev/null
+++ b/mosh-gcc8.patch
@@ -0,0 +1,13 @@
+--- mosh-1.3.2/src/frontend/mosh-server.cc~ 2017-07-22 23:14:53.000000000 +0200
++++ mosh-1.3.2/src/frontend/mosh-server.cc 2018-09-24 07:13:02.243766616 +0200
+@@ -764,8 +764,8 @@
+ throw NetworkException( std::string( "serve: getnameinfo: " ) + gai_strerror( errcode ), 0 );
+ }
+
+- char tmp[ 64 ];
+- snprintf( tmp, 64, "%s via mosh [%d]", host, getpid() );
++ char tmp[ 64 + NI_MAXHOST ];
++ snprintf( tmp, 64 + NI_MAXHOST, "%s via mosh [%d]", host, getpid() );
+ utempter_add_record( host_fd, tmp );
+
+ connected_utmp = true;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/d1ff338f9db259d1c8670423d990fcc47ee56706
More information about the pld-cvs-commit
mailing list