From 1869cf958d24e2d79a8dae61a24c90b350d72c9d Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 18 Dec 2005 21:45:29 +0000 Subject: Fix errno. --- net/bounce/distinfo | 4 ++-- net/bounce/patches/patch-aa | 20 ++++++++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to 'net') diff --git a/net/bounce/distinfo b/net/bounce/distinfo index b48c692ab96..eab3269d9b9 100644 --- a/net/bounce/distinfo +++ b/net/bounce/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/08/27 20:27:32 minskim Exp $ +$NetBSD: distinfo,v 1.5 2005/12/18 21:45:29 joerg Exp $ SHA1 (bounce-0.0.tar.gz) = 3b0a7306ba80b29f70131e914f344ce67b4691e4 RMD160 (bounce-0.0.tar.gz) = 6d3151fdafa5751cf7c1be16d149af8fce1d148c Size (bounce-0.0.tar.gz) = 3439 bytes -SHA1 (patch-aa) = 06596eea5fc0975df4be0305e0ad92698d1dc246 +SHA1 (patch-aa) = 89469c2b8608796006a817dcbb5e5b3bf21007ef SHA1 (patch-ab) = 880ee39f5b4d57775bd2beaf9644d047328e6db7 diff --git a/net/bounce/patches/patch-aa b/net/bounce/patches/patch-aa index b14ecb37d1b..09c15b6ffab 100644 --- a/net/bounce/patches/patch-aa +++ b/net/bounce/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1 2000/10/03 01:35:43 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2005/12/18 21:45:29 joerg Exp $ ---- bounce.c.orig Mon Oct 2 21:31:42 2000 +--- bounce.c.orig 2000-02-18 21:58:52.000000000 +0000 +++ bounce.c @@ -11,6 +11,9 @@ #ifdef _AIX @@ -12,3 +12,19 @@ $NetBSD: patch-aa,v 1.1 2000/10/03 01:35:43 hubertf Exp $ #include #include +@@ -27,7 +30,6 @@ + #define DEFAULT_PORT 1523 + + char sbuf[16384], cbuf[16384]; +-extern int errno; + /* extern char *sys_errlist[]; */ + + void sigchld() { +@@ -39,7 +41,6 @@ void communicate(int sfd, int cfd) { + char *chead, *ctail, *shead, *stail; + int num, nfd, spos, cpos; + +- extern int errno; + fd_set rd, wr; + + struct itimerval itime; -- cgit v1.2.3