diff options
Diffstat (limited to 'sysutils/fam/patches/patch-at')
-rw-r--r-- | sysutils/fam/patches/patch-at | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/fam/patches/patch-at b/sysutils/fam/patches/patch-at new file mode 100644 index 00000000000..b5181fda59f --- /dev/null +++ b/sysutils/fam/patches/patch-at @@ -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 |