From 4e8afa88588542bc731f6141cc787a3c37b390ca Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Sun, 11 Dec 2011 09:52:09 +0400 Subject: [PATCH] =?UTF-8?q?Fixed=20#47=20=E2=80=94=20Compile-time=20segfau?= =?UTF-8?q?lt=20involving=20libpthread,=20=5FaaGet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dmd/module.c | 1 + dmd2/module.c | 1 + 2 files changed, 2 insertions(+) diff --git a/dmd/module.c b/dmd/module.c index 599dabba..83fe9d1c 100644 --- a/dmd/module.c +++ b/dmd/module.c @@ -157,6 +157,7 @@ Module::Module(char *filename, Identifier *ident, int doDocComment, int doHdrGen this->doDocComment = doDocComment; this->doHdrGen = doHdrGen; this->isRoot = false; + this->arrayfuncs = 0; #endif } diff --git a/dmd2/module.c b/dmd2/module.c index 2852cb1b..f6917796 100644 --- a/dmd2/module.c +++ b/dmd2/module.c @@ -217,6 +217,7 @@ Module::Module(char *filename, Identifier *ident, int doDocComment, int doHdrGen this->doDocComment = doDocComment; this->doHdrGen = doHdrGen; this->isRoot = false; + this->arrayfuncs = 0; #endif } #if IN_LLVM