You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2016/04/04 20:53:26 UTC

[jira] [Closed] (THRIFT-1751) definition of increase_max_fds doesn't compile when HAVE_SYS_RESOURCE_H is not defined

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

Jake Farrell closed THRIFT-1751.
--------------------------------
    Resolution: Fixed

> definition of increase_max_fds doesn't compile when HAVE_SYS_RESOURCE_H is not defined
> --------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1751
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1751
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9, 1.0
>            Reporter: Ben Craig
>            Assignee: Ben Craig
>             Fix For: 0.10.0
>
>         Attachments: TServer_guard2.patch
>
>
> The definition of increase_max_fds uses struct rlimit, which is defined in sys/resource.h.  If sys/resource.h doesn't get included, you get a compiler error.



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