From 8515e1d83a8623e15ceefe7b10573a353af9d007 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 2 Jan 2006 22:51:45 +0000 Subject: Fix errno. --- parallel/clusterit/distinfo | 7 ++++++- parallel/clusterit/patches/patch-aa | 21 +++++++++++++++++++++ parallel/clusterit/patches/patch-ab | 12 ++++++++++++ parallel/clusterit/patches/patch-ac | 11 +++++++++++ parallel/clusterit/patches/patch-ad | 11 +++++++++++ parallel/clusterit/patches/patch-ae | 12 ++++++++++++ 6 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 parallel/clusterit/patches/patch-aa create mode 100644 parallel/clusterit/patches/patch-ab create mode 100644 parallel/clusterit/patches/patch-ac create mode 100644 parallel/clusterit/patches/patch-ad create mode 100644 parallel/clusterit/patches/patch-ae (limited to 'parallel/clusterit') diff --git a/parallel/clusterit/distinfo b/parallel/clusterit/distinfo index ed006b73d7b..ef71fda1d69 100644 --- a/parallel/clusterit/distinfo +++ b/parallel/clusterit/distinfo @@ -1,5 +1,10 @@ -$NetBSD: distinfo,v 1.8 2005/06/02 20:48:12 garbled Exp $ +$NetBSD: distinfo,v 1.9 2006/01/02 22:51:45 joerg Exp $ SHA1 (clusterit-2.3.1.tar.gz) = 473ea0731d156ee335d5f6addddd9d3b2a1852a4 RMD160 (clusterit-2.3.1.tar.gz) = d98d47a3365b2f4507e0993286f494b974a586df Size (clusterit-2.3.1.tar.gz) = 359087 bytes +SHA1 (patch-aa) = 60f705b3249feaabefa64c878318be369debcc1f +SHA1 (patch-ab) = 0006fa7bd75bba7dd68ad360c553e166b882c808 +SHA1 (patch-ac) = 925754f24413182bb66f6d81f6fa026ce2635390 +SHA1 (patch-ad) = 22cc3d33288ac377f24172f9c8097de84e18fc0b +SHA1 (patch-ae) = 49bb2d730ecd4ecc06b5f2d1b2383cc88bf3e0e5 diff --git a/parallel/clusterit/patches/patch-aa b/parallel/clusterit/patches/patch-aa new file mode 100644 index 00000000000..c93f136c0a1 --- /dev/null +++ b/parallel/clusterit/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.5 2006/01/02 22:51:45 joerg Exp $ + +--- common/common.c.orig 2006-01-02 22:42:24.000000000 +0000 ++++ common/common.c +@@ -121,7 +121,6 @@ parse_cluster(char **exclude) + char *clusterfile, *p, *nodename; + int i, j, g, fail, gfail, lumping, n, ging; + char buf[MAXBUF]; +- extern int errno; + group_t *grouptemp; + node_t *nodeptr; + char **lumptemp; +@@ -383,8 +382,6 @@ int test_node_connection(int rshport, in + void + _bailout(int line, char *file) + { +- extern int errno; +- + (void)fprintf(stderr, "%s: Failed in %s line %d: %s %d\n", + progname, file, line, strerror(errno), errno); + diff --git a/parallel/clusterit/patches/patch-ab b/parallel/clusterit/patches/patch-ab new file mode 100644 index 00000000000..5c28e2ce953 --- /dev/null +++ b/parallel/clusterit/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2006/01/02 22:51:45 joerg Exp $ + +--- dsh/rseq.c.orig 2006-01-02 22:43:51.000000000 +0000 ++++ dsh/rseq.c +@@ -45,7 +45,4 @@ __RCSID("$Id: rseq.c,v 1.15 2005/06/02 1 + #endif + +-/* externs */ +-extern int errno; +- + void do_command(char **argv, int allrun, char *username); + node_t * check_seq(void); diff --git a/parallel/clusterit/patches/patch-ac b/parallel/clusterit/patches/patch-ac new file mode 100644 index 00000000000..cc3b91a70f7 --- /dev/null +++ b/parallel/clusterit/patches/patch-ac @@ -0,0 +1,11 @@ +$NetBSD: patch-ac,v 1.1 2006/01/02 22:51:45 joerg Exp $ + +--- dsh/run.c.orig 2006-01-02 22:44:29.000000000 +0000 ++++ dsh/run.c +@@ -45,6 +45,4 @@ __RCSID("$Id: run.c,v 1.13 2005/06/02 17 + #endif + +-extern int errno; +- + void do_command(char **argv, int allrun, char *username); + node_t *check_rand(void); diff --git a/parallel/clusterit/patches/patch-ad b/parallel/clusterit/patches/patch-ad new file mode 100644 index 00000000000..c2a46fc9599 --- /dev/null +++ b/parallel/clusterit/patches/patch-ad @@ -0,0 +1,11 @@ +$NetBSD: patch-ad,v 1.1 2006/01/02 22:51:45 joerg Exp $ + +--- pcp/pcp.c.orig 2006-01-02 22:45:27.000000000 +0000 ++++ pcp/pcp.c +@@ -47,6 +47,4 @@ __RCSID("$Id: pcp.c,v 1.14 2005/06/02 17 + #endif + +-extern int errno; +- + void do_copy(char **argv, int recurse, int preserve, char *username); + void paralell_copy(char *rcp, char *args, char *username, char *source_file, diff --git a/parallel/clusterit/patches/patch-ae b/parallel/clusterit/patches/patch-ae new file mode 100644 index 00000000000..2186f54f4ed --- /dev/null +++ b/parallel/clusterit/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2006/01/02 22:51:45 joerg Exp $ + +--- rvt/command.c.orig 2006-01-02 22:47:41.000000000 +0000 ++++ rvt/command.c +@@ -453,7 +453,6 @@ int flags; + unsigned char *s; + int count, sv; + unsigned char mask = is_eightbit() ? 0xff : 0x7f; +- extern int errno; + + if (com_stack_top > com_stack) + return(*--com_stack_top); -- cgit v1.2.3