[ 
https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom reassigned TS-927:
--------------------------------

    Assignee: Leif Hedstrom

> [patch] dont use malloc.h
> -------------------------
>
>                 Key: TS-927
>                 URL: https://issues.apache.org/jira/browse/TS-927
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: Freebsd 8.2/i32
>            Reporter: Radim Kolar
>            Assignee: Leif Hedstrom
>              Labels: patch
>             Fix For: 3.1.0
>
>         Attachments: patch-malloc-h
>
>
> On FreeBSD including malloc.h makes program uncompilable. there is #error 
> include stdlib.h instead inside malloc.h header file.
> fix follows:
> --- lib/tsconfig/TsConfigGrammar.y.orig 2011-08-20 18:36:13.685707419 +0200
> +++ lib/tsconfig/TsConfigGrammar.y      2011-08-20 18:36:34.796159531 +0200
> @@ -23,7 +23,7 @@
>   */
>  # include "TsConfigTypes.h"
> -# include <malloc.h>
> +# include <stdlib.h>
>  // Inhibit Bison definitions.
>  # define YYMALLOC malloc

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to