Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1751

definition of increase_max_fds doesn't compile when HAVE_SYS_RESOURCE_H is not defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.10.0
    • C++ - Library
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. TServer_guard2.patch
          1.0 kB
          Ben Craig

        Activity

          People

            ben.craig Ben Craig
            ben.craig Ben Craig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: