pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bmake/files



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.

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 <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 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)



Home | Main Index | Thread Index | Old Index