Received: by mail.netbsd.org (Postfix, from userid 605) id 4162784E91; Mon, 10 Sep 2018 10:17:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4C86B84E89 for ; Mon, 10 Sep 2018 10:16:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VX0r35bU87Y5 for ; Mon, 10 Sep 2018 10:16:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6DE8D84D1F for ; Mon, 10 Sep 2018 10:16:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5E118FBF8; Mon, 10 Sep 2018 10:16:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1536574618124690" MIME-Version: 1.0 Date: Mon, 10 Sep 2018 10:16:58 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/devel/bmake/files To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20180910101658.5E118FBF8@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1536574618124690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Mon Sep 10 10:16:58 UTC 2018 Modified Files: pkgsrc/devel/bmake/files: job.c Log Message: Set default malloc_options iff NetBSD. Other platforms that don't support the same options may make noise about that, such as OpenBSD. Suggested by joerg@. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/bmake/files/job.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1536574618124690 Content-Disposition: inline Content-Length: 1236 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/bmake/files/job.c diff -u pkgsrc/devel/bmake/files/job.c:1.16 pkgsrc/devel/bmake/files/job.c:1.17 --- pkgsrc/devel/bmake/files/job.c:1.16 Tue May 19 22:01:19 2015 +++ pkgsrc/devel/bmake/files/job.c Mon Sep 10 10:16:58 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: job.c,v 1.16 2015/05/19 22:01:19 joerg Exp $ */ +/* $NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: job.c,v 1.16 2015/05/19 22:01:19 joerg Exp $"; +static char rcsid[] = "$NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: job.c,v 1.16 2015/05/19 22:01:19 joerg Exp $"); +__RCSID("$NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $"); #endif #endif /* not lint */ #endif @@ -374,7 +374,9 @@ static void JobSigLock(sigset_t *); static void JobSigUnlock(sigset_t *); static void JobSigReset(void); +#if defined(__NetBSD__) const char *malloc_options="A"; +#endif static void job_table_dump(const char *where) --_----------=_1536574618124690--