pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake/files Set default malloc_options iff NetBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdcabaad1343
branches:  trunk
changeset: 312665:fdcabaad1343
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Sep 10 10:16:58 2018 +0000

description:
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@.

diffstat:

 devel/bmake/files/job.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 3d37b22334ea -r fdcabaad1343 devel/bmake/files/job.c
--- a/devel/bmake/files/job.c   Mon Sep 10 09:08:07 2018 +0000
+++ b/devel/bmake/files/job.c   Mon Sep 10 10:16:58 2018 +0000
@@ -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 <sys/cdefs.h>
 #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 JobSigUnlock(sigset_t *);
 static void JobSigReset(void);
 
+#if defined(__NetBSD__)
 const char *malloc_options="A";
+#endif
 
 static void
 job_table_dump(const char *where)



Home | Main Index | Thread Index | Old Index