[racket-dev] memory consumption (bug?) on Debian/kFreeBSD-i386

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Apr 28 11:07:28 EDT 2011

At Wed, 27 Apr 2011 21:42:05 -0300, David Bremner wrote:
> --- a/src/racket/src/number.c
> +++ b/src/racket/src/number.c
> @@ -183,6 +183,8 @@ READ_ONLY Scheme_Object *scheme_single_inf_object, 
> *scheme_single_minus_inf_obje
>  
>  
>  #ifdef FREEBSD_CONTROL_387
> +#include <sys/cdefs.h>
> +#include <sys/param.h>
>  #include <machine/floatingpoint.h>
>  #endif
>  #ifdef LINUX_CONTROL_387

Looks like it should really be

 #ifdef FREEBSD_CONTROL_387
 #include <ieeefp.h>
 #endif

Does that work on your machine?



Posted on the dev mailing list.