Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3802

Remove bits/signum.h include from libmongoc/tests/test-mongoc-cache.c

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.17.1
    • 1.17.0
    • libmongoc, tests
    • None
    • alpine linux 3.12 (or any other non-glibc system?)
    • Fully Compatible

    Description

      bits/signum.h on ubuntu specifically says not to include directly anyway and the defines should be picked up when including bits/signal.h (they are on alpine linux at least)

       

      at worst case, consider simply hardcoding?

      {{raise(19) /* 19 = SIGSTOP */ }}

       

      here?

      https://github.com/mongodb/mongo-c-driver/blob/1.17.0/src/libmongoc/tests/test-mongoc-cache.c#L84

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            bauman Dan Bauman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: