Displaying 5 results from an estimated 5 matches for "fillbuf".
Did you mean:
filebuf
2015 Feb 24
4
Call for testing: OpenSSH 6.8
.../regress/netcat.c
@@ -44,7 +44,6 @@
#include <netinet/ip.h>
#include <arpa/telnet.h>
-#include <err.h>
#include <errno.h>
#include <netdb.h>
#include <poll.h>
@@ -122,6 +121,47 @@ void usage(int);
ssize_t drainbuf(int, unsigned char *, size_t *);
ssize_t fillbuf(int, unsigned char *, size_t *);
+static void err(int, const char *, ...) __attribute__((format(printf, 2, 3)));
+static void errx(int, const char *, ...) __attribute__((format(printf, 2, 3)));
+static void warn(const char *, ...) __attribute__((format(printf, 1, 2)));
+
+static void
+err(int r,...
2015 Feb 26
4
Call for testing: OpenSSH 6.8
...msghdr' has no member named
> > 'msg_control'
>
> ah, looks like we need to copy some bits from monitor_fdpass.c
Perhaps like this:
diff --git regress/netcat.c regress/netcat.c
index 3f100bd..29e85bf 100644
--- regress/netcat.c
+++ regress/netcat.c
@@ -1014,43 +1014,44 @@ fillbuf(int fd, unsigned char *buf, size_t *bufpos)
void
fdpass(int nfd)
{
- struct msghdr mh;
+#if defined(HAVE_SENDMSG) && (defined(HAVE_ACCRIGHTS_IN_MSGHDR) || defined(HAVE_CONTROL_IN_MSGHDR))
+ struct msghdr msg;
+#ifndef HAVE_ACCRIGHTS_IN_MSGHDR
union {
struct cmsghdr hdr;
char buf[...
2015 Feb 25
2
Call for testing: OpenSSH 6.8
On 24/02/15 21:56, Tim Rice wrote:
> On Wed, 25 Feb 2015, Damien Miller wrote:
>
> | On Tue, 24 Feb 2015, Tom G. Christensen wrote:
> |
> | > I've switched to HEAD in the git repo and it now builds on Solaris
> | > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the
> | > missing <err.h>.
>
> The err.h issue is fixes but there still
2015 Feb 24
2
Call for testing: OpenSSH 6.8
On Mon, Feb 23, 2015 at 04:17:37PM -0800, Kevin Brott wrote:
> Hrm - must have been a timing issue or my user error. In any case, just
> pulled the latest commits ...
>
> *AIX 6.1/7.1 now fails here:*
> *...*
> xlc_r -O2 -qarch=ppc -qalloca -I/usr/include
> -I/opt/freeware/include -I. -I. -O2 -qarch=ppc -qalloca -I/usr/include
> -I/opt/freeware/include
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and