Your message dated Wed, 18 Nov 2015 22:45:14 +0000
with message-id <[email protected]>
has caused the   report #805505,
regarding putty: FTBFS on hurd-i386
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
805505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805505
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi putty@,

This patch looks reasonable to me - does it also look fine to you?

Thanks,

-- 
Colin Watson                                       [[email protected]]
--- Begin Message ---
Source: putty
Version: 0.66-1
Severity: important
Tags: patch
Usertags: hurd
User: [email protected]

Hello,

putty FTBFS on GNU/Hurd due to a missing definition of PIPE_BUF in
<limits.h>. This is solved by using the _POSIX_PIPE_BUF defined value
of 512 instead. (In fact the assertion will never happen, SALT_SIZE is
defined to 64 and PIPE_BUF is always larger than that, e.g. for Linux
4096, and so is _POSIX_PIPE_BUF.

Thanks!
Index: putty-0.66/unix/uxshare.c
===================================================================
--- putty-0.66.orig/unix/uxshare.c
+++ putty-0.66/unix/uxshare.c
@@ -23,6 +23,9 @@
 #define CONNSHARE_SOCKETDIR_PREFIX "/tmp/putty-connshare"
 #define SALT_FILENAME "salt"
 #define SALT_SIZE 64
+#ifndef PIPE_BUF
+#define PIPE_BUF _POSIX_PIPE_BUF
+#endif
 
 /*
  * Functions provided by uxnet.c to help connection sharing.

--- End Message ---

--- End Message ---

Reply via email to