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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.17.1
    • Affects Version/s: 1.17.0
    • Component/s: libmongoc, Testing
    • None
    • Environment:
      alpine linux 3.12 (or any other non-glibc system?)
    • Fully Compatible

      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

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

              Created:
              Updated:
              Resolved: