summaryrefslogtreecommitdiffstats
path: root/net/clusterit/files
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-07-02 08:52:29 +0000
committerdemon <demon@FreeBSD.org>2004-07-02 08:52:29 +0000
commit297836337d91c8011882b328d43acd55e0a5237e (patch)
treec92cd2cc46eac99bb21c8783503661a83a82453a /net/clusterit/files
parent3bf4b2393be3dcab16ca6c8e278f3c3aeb45c5e9 (diff)
downloadFreeBSD-ports-297836337d91c8011882b328d43acd55e0a5237e.zip
FreeBSD-ports-297836337d91c8011882b328d43acd55e0a5237e.tar.gz
Fix dsh crash.
Submitted by: Barkley Vowk <bvowk@math.ualberta.ca>
Diffstat (limited to 'net/clusterit/files')
-rw-r--r--net/clusterit/files/patch-dsh-dsh.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/clusterit/files/patch-dsh-dsh.c b/net/clusterit/files/patch-dsh-dsh.c
new file mode 100644
index 0000000..0a02358
--- /dev/null
+++ b/net/clusterit/files/patch-dsh-dsh.c
@@ -0,0 +1,18 @@
+--- dsh/dsh.c.orig Fri Jul 2 12:50:52 2004
++++ dsh/dsh.c Fri Jul 2 12:51:08 2004
+@@ -76,6 +76,7 @@
+ {
+ extern char *optarg;
+ extern int optind;
++ extern char *malloc_options;
+
+ int someflag, ch, i, fanout, showflag, fanflag;
+ char *p, *q, *group, *nodename, *username;
+@@ -93,6 +94,7 @@
+ nodeptr = NULL;
+ nodelink = NULL;
+
++ malloc_options = "Z";
+ rungroup = malloc(sizeof(char **) * GROUP_MALLOC);
+ if (rungroup == NULL)
+ bailout(__LINE__);
OpenPOWER on IntegriCloud