FreeBSD port (2): make it compile without linuxthreads

Wolfram Gloger Wolfram.Gloger@dent.med.uni-muenchen.de
Mon Jul 8 05:06:00 GMT 2002


> From: Bruno Haible <bruno@clisp.org>
>
> diff -r -c3 glibc-20020627.bak/malloc/hooks.c glibc-20020627/malloc/hooks.c
> --- glibc-20020627.bak/malloc/hooks.c	Thu Apr  4 20:11:23 2002
> +++ glibc-20020627/malloc/hooks.c	Fri Jul  5 01:17:06 2002
> @@ -532,7 +532,7 @@
>    ms->check_action = check_action;
>    ms->max_sbrked_mem = main_arena.max_system_mem;
>  #ifdef NO_THREADS
> -  ms->max_total_mem = max_total_mem;
> +  ms->max_total_mem = mp_.max_total_mem;
>  #else
>    ms->max_total_mem = 0;
>  #endif

Yes, this is Ok -- obvious typo.

Thanks,
Wolfram.



More information about the Libc-alpha mailing list