mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
22 lines
615 B
Plaintext
22 lines
615 B
Plaintext
$NetBSD: patch-ab,v 1.1.1.1 2005/07/27 17:06:53 drochner Exp $
|
|
|
|
--- libmtest.c.orig 2004-04-16 21:22:20.000000000 +0200
|
|
+++ libmtest.c 2004-04-16 21:23:56.000000000 +0200
|
|
@@ -4,7 +4,6 @@
|
|
form on Microsoft and Be systems. */
|
|
|
|
#include <errno.h>
|
|
-#include <error.h>
|
|
#include <float.h>
|
|
#include <gmp.h>
|
|
#include <math.h>
|
|
@@ -214,7 +213,7 @@
|
|
/* Allocate the memory for the result. */
|
|
result = (double *) calloc (n, 2 * sizeof (double));
|
|
if (result == NULL)
|
|
- error (EXIT_FAILURE, errno, "cannot create array for result");
|
|
+ exit (EXIT_FAILURE);
|
|
|
|
for (cnt = 0; cnt < nprocs; ++cnt)
|
|
{
|