Skip to content

Commit

Permalink
Fix errno.
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg committed Dec 18, 2005
1 parent 3c1b733 commit be77b0e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net/bounce/distinfo
Original file line number Diff line number Diff line change
@@ -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
20 changes: 18 additions & 2 deletions net/bounce/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,3 +12,19 @@ $NetBSD: patch-aa,v 1.1 2000/10/03 01:35:43 hubertf Exp $

#include <fcntl.h>
#include <errno.h>
@@ -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;

0 comments on commit be77b0e

Please sign in to comment.