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 7d9c25c commit 3540e01
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 2 deletions.
3 changes: 2 additions & 1 deletion net/mrt/distinfo
@@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.3 2005/02/24 12:13:53 agc Exp $
$NetBSD: distinfo,v 1.4 2005/12/18 22:12:12 joerg Exp $

SHA1 (mrt-2.2.2a-Aug11.tar.gz) = 6290a0b8d5539fddbd562d8dec64deb291dd3369
RMD160 (mrt-2.2.2a-Aug11.tar.gz) = e62d3b06d802757cbb1aa4225713b8bf7523ba77
Size (mrt-2.2.2a-Aug11.tar.gz) = 596596 bytes
SHA1 (patch-aa) = b3d4121b5d94f6bc6b702e6c72e3565adf19d74e
SHA1 (patch-ab) = 6f2d358eb50ccd7c8caa11cb3bff9f6b6232b8dd
SHA1 (patch-ac) = 2fc1c1f19848c90f7344813090fc7c96de121702
SHA1 (patch-ad) = bbc017a99d34ee3bd6eecad077102b10c7e83349
20 changes: 20 additions & 0 deletions net/mrt/patches/patch-ac
@@ -0,0 +1,20 @@
$NetBSD: patch-ac,v 1.1 2005/12/18 22:12:12 joerg Exp $

--- lib/io/io.c.orig 2005-12-18 22:04:17.000000000 +0000
+++ lib/io/io.c
@@ -8,6 +8,7 @@
*/


+#include <errno.h>
#include <mrt.h>
#ifndef NT
#include <sys/ipc.h>
@@ -610,7 +611,6 @@ get_destq (char *client)
int server_qid;
int need_rm = 1;
ARB_MSG_Struct msg;
- extern int errno;

/* Get a mailbox endpoint to receive the message from the server.
Try to create one first; if it already exists, assume we made it
7 changes: 6 additions & 1 deletion net/netpipes/distinfo
@@ -1,7 +1,12 @@
$NetBSD: distinfo,v 1.1.1.1 2005/11/06 23:58:34 jlam Exp $
$NetBSD: distinfo,v 1.2 2005/12/18 22:02:35 joerg Exp $

SHA1 (netpipes-4.2-export.tar.gz) = e8a52168b2893a12d943cc31e5d3a7f0bb3502b0
RMD160 (netpipes-4.2-export.tar.gz) = 26c982c0b9e4382d96335f10a5e54813f776db29
Size (netpipes-4.2-export.tar.gz) = 74977 bytes
SHA1 (patch-aa) = 08b395d0c47e4099461bd0c31f6bea600cab043e
SHA1 (patch-ab) = e2ff692a1153687c5c42da9df06cdc3012c6989a
SHA1 (patch-ac) = 4cc8af134622dec798094dc043ad65c1e1154cf0
SHA1 (patch-ad) = dfa0eeb9b6a723b6d91fa234e4cfeaad66e6ec8c
SHA1 (patch-ae) = 482c06d563769b637c30e9c37fa35d920cee2651
SHA1 (patch-af) = 8080accff1770403b3245832a74dd7a322be1649
SHA1 (patch-ag) = 314faa08f019f4a8620164b1cb8db731b7dabf02
12 changes: 12 additions & 0 deletions net/netpipes/patches/patch-ac
@@ -0,0 +1,12 @@
$NetBSD: patch-ac,v 1.1 2005/12/18 22:02:35 joerg Exp $

--- getpeername.c.orig 2005-12-18 21:54:26.000000000 +0000
+++ getpeername.c
@@ -24,7 +24,6 @@ static char info[] = "getpeername: a net
#include <stdio.h>
#include <string.h>
#include <errno.h>
-extern int errno; /* I hate the errno header file */
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
12 changes: 12 additions & 0 deletions net/netpipes/patches/patch-ad
@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.1 2005/12/18 22:02:35 joerg Exp $

--- timelimit.c.orig 2005-12-18 21:54:52.000000000 +0000
+++ timelimit.c
@@ -30,7 +30,6 @@ static char info[] = "timelimit: a util
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
-extern int errno;
#include "common.h"

int verbose = 0;
12 changes: 12 additions & 0 deletions net/netpipes/patches/patch-ae
@@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.1 2005/12/18 22:02:35 joerg Exp $

--- encapsulate.c.orig 2005-12-18 21:55:11.000000000 +0000
+++ encapsulate.c
@@ -117,7 +117,6 @@ static char info[] = "encapsulate: a ut

#include <stdio.h>
#include <errno.h>
-extern int errno; /* I hate the errno header file */
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
10 changes: 10 additions & 0 deletions net/netpipes/patches/patch-af
@@ -0,0 +1,10 @@
$NetBSD: patch-af,v 1.1 2005/12/18 22:02:35 joerg Exp $

--- faucet.c.orig 2005-12-18 21:53:33.000000000 +0000
+++ faucet.c
@@ -24,5 +24,4 @@ static char info[] = "faucet: a network
#include <stdio.h>
#include <errno.h>
-extern int errno; /* I hate the errno header file */
#include <string.h>
#include <stdlib.h>
12 changes: 12 additions & 0 deletions net/netpipes/patches/patch-ag
@@ -0,0 +1,12 @@
$NetBSD: patch-ag,v 1.1 2005/12/18 22:02:35 joerg Exp $

--- hose.c.orig 2005-12-18 21:54:03.000000000 +0000
+++ hose.c
@@ -86,7 +86,6 @@ unsigned delay=5; /* how long to wait b
int shutdn=0; /* should we fork, wait and shutdown? */
char *localport=NULL; /* local port name */
char *localaddr=NULL; /* local internet address */
-extern int errno;


int name_to_inet_port();

0 comments on commit 3540e01

Please sign in to comment.