You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2011/08/20 19:23:27 UTC

[jira] [Created] (TS-927) [patch] dont use malloc.h

[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


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

        

[jira] [Updated] (TS-927) [patch] dont use malloc.h

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-927:
-----------------------------

    Fix Version/s: 3.1.0

> [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

        

[jira] [Commented] (TS-927) [patch] dont use malloc.h

Posted by "Jim Jagielski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113649#comment-13113649 ] 

Jim Jagielski commented on TS-927:
----------------------------------

Committed r1174947

> [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

        

[jira] [Updated] (TS-927) [patch] dont use malloc.h

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-927:
-----------------------------

    Backport to Version: 3.0.2

> [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

        

[jira] [Assigned] (TS-927) [patch] dont use malloc.h

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (TS-927) [patch] dont use malloc.h

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-927:
--------------------------

    Backport to Version:   (was: 3.0.2)
          Fix Version/s: 3.0.2

> [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, 3.0.2
>
>         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

       

[jira] [Updated] (TS-927) [patch] dont use malloc.h

Posted by "Radim Kolar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Kolar updated TS-927:
---------------------------

    Attachment: patch-malloc-h

Fix malloc.h include problem

> [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
>              Labels: patch
>         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