Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-at,v 1.4 2004/11/19 12:35:22 sketch Exp $
--- src/NetConnection.h.orig 2004-11-08 14:44:19.318981000 +0000
+++ src/NetConnection.h 2004-11-08 14:44:42.403907000 +0000
@@ -68,6 +68,8 @@
void ready_for_input(bool);
int get_fd() const { return fd; }
+ enum { MAXMSGSIZE = PATH_MAX + 40 };
+
protected:
virtual bool input_msg(const char *data, unsigned nbytes) = 0;
@@ -75,7 +77,6 @@
private:
- enum { MAXMSGSIZE = PATH_MAX + 40 };
typedef u_int32_t Length;
typedef struct msgList_s {
char msg[MAXMSGSIZE+5]; // + 4 for 32-bit length, + 1 for overflow