thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Craig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-1751) definition of increase_max_fds doesn't compile when HAVE_SYS_RESOURCE_H is not defined
Date Fri, 09 Nov 2012 20:51:12 GMT

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

Ben Craig updated THRIFT-1751:
------------------------------

    Attachment: TServer_guard.patch

Guarding increase_max_fds definition with HAVE_SYS_RESOURCE_H
                
> 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
>             Fix For: 1.0
>
>         Attachments: TServer_guard.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message