You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/27 22:35:13 UTC

[jira] [Commented] (TS-4307) Check for existence of alloca.h consistently

    [ https://issues.apache.org/jira/browse/TS-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260878#comment-15260878 ] 

ASF subversion and git services commented on TS-4307:
-----------------------------------------------------

Commit ceccf32e3f73cb2da8a712f9034b4e3e79b93faa in trafficserver's branch refs/heads/6.1.x from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=ceccf32 ]

TS-4307 Checks for existence of alloca.h consistently

(cherry picked from commit f39a0c4a8e77b24d03a503c34a3671345c074d6b)


> Check for existence of alloca.h consistently
> --------------------------------------------
>
>                 Key: TS-4307
>                 URL: https://issues.apache.org/jira/browse/TS-4307
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 6.1.2, 6.2.0
>
>
> On FreeBSD 10.2, the alloca.h file no longer seems to exist. The fix is trivial, e.g.
> {code}
> diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
> index 7711965..70e5934 100644
> --- a/iocore/eventsystem/UnixEventProcessor.cc
> +++ b/iocore/eventsystem/UnixEventProcessor.cc
> @@ -24,7 +24,9 @@
>  #include "P_EventSystem.h" /* MAGIC_EDITING_TAG */
>  #include <sched.h>
>  #if TS_USE_HWLOC
> +#if HAVE_ALLOCA_H
>  #include <alloca.h>
> +#endif
>  #include <hwloc.h>
>  #endif
>  #include "ts/ink_defs.h"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)