Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 04:40:02 -0700 (PDT)
From:      Thomas Gellekum <tg@melaten.rwth-aachen.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31141: OpenDX port dumps core in dxexec
Message-ID:  <200110111140.f9BBe2S95902@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31141; it has been noted by GNATS.

From: Thomas Gellekum <tg@melaten.rwth-aachen.de>
To: Charles Allen <charles.allen@ieee.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/31141: OpenDX port dumps core in dxexec
Date: 11 Oct 2001 13:40:04 +0200

 --=-=-=
 
 Can you please try the attached patch?
 
 tg
 
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: attachment;
   filename="patch-src:exec:libdx:memory.c"
 
 --- src/exec/libdx/memory.c.orig	Mon May 21 07:06:59 2001
 +++ src/exec/libdx/memory.c	Thu Oct 11 10:15:47 2001
 @@ -1057,6 +1057,19 @@
  #define LARGE(x) ((int)x>=(int)large)
  #endif
  
 +#ifdef	freebsd
 +#define initvalues
 +#define SMALL_BASE    0               /* use data segment */
 +#define SMALL_GET     _dxfgetmem      /* expand by using DosSetMem */
 +#define LARGE_GET     _dxfgetmem      /* expand by using DosSetMem */
 +#define LARGE_INIT    2 MEG           /* doesn't matter; consistent w/ sgi */
 +#define LARGE_INCR    2 MEG           /* doesn't matter; consistent w/ sgi */
 +#define SIZE_ROUND    2 MEG           /* doesn't matter; consistent w/ sgi */
 +#define MALLOC_NONE   1               /* provide malloc from global arena */
 +#define SMALL(x) ((long)x<(long)large)
 +#define LARGE(x) ((long)x>=(long)large)
 +#endif
 +
  #ifdef	cygwin
  #define initvalues
  #define SMALL_BASE    0               /* use data segment */
 
 --=-=-=--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110111140.f9BBe2S95902>