Ran
|
Files
262
|
Run time
8s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/curl/curl/commit/<a class=hub.com/curl/curl/commit/6bb7e822d4002fe889c1dd8246cea882eb95cef6">6bb7e822d<a href="https://github.com/curl/curl/commit/6bb7e822d4002fe889c1dd8246cea882eb95cef6">">Check sizeof long using the more portable LONG_BIT. The previous attempt (reverted with commit </a><a class="double-link" href="https://github.com/curl/curl/commit/<a class="double-link" href="https://github.com/curl/curl/commit/272613df020c29a445738856dda29a9803b9bedb">272613df0</a>">272613df0</a><a href="https://github.com/curl/curl/commit/6bb7e822d4002fe889c1dd8246cea882eb95cef6"> ) used macro SIZEOF_LONG which was not a system include, but internal to cURL, defined from configure.ac AC_CHECK_SIZEOF(long). Using LONG_BIT is more portable. Even LONG_BIT though requires pulling in <limits.h> and _XOPEN_SOURCE to be defined. We include <limits.h> only inside the specific ifdef in order to avoid affecting other platforms that already work.
19523 of 26046 relevant lines covered (74.96%)
181470.81 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|