diff options
| author | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-07-02 08:52:29 +0000 |
|---|---|---|
| committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-07-02 08:52:29 +0000 |
| commit | 9093920d91d3079b2015708fafe2944f0030ca34 (patch) | |
| tree | 82f7d5229794d4e48289fce7b4ab6626b763ba99 /net/clusterit | |
| parent | s/malloc.h/stdlib.h/ (diff) | |
Fix dsh crash.
Submitted by: Barkley Vowk <bvowk@math.ualberta.ca>
Diffstat (limited to 'net/clusterit')
| -rw-r--r-- | net/clusterit/files/patch-dsh-dsh.c | 18 |
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 000000000000..0a023580cea7 --- /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__); |
