aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
AgeCommit message (Expand)Author
2017-03-09Remove fgets() compatbility function and related tests.Alexander Færøy
2017-03-01Add compatibility function for fgets(3).Alexander Færøy
2017-01-25Fix a signed/unsigned comparison warningNick Mathewson
2017-01-25Fail if file is too large to mmap.junglefowl
2016-12-16Revert "Stop checking whether environ is declared."Nick Mathewson
2016-12-12Stop checking whether environ is declared.Nick Mathewson
2016-11-22Merge remote-tracking branch 'teor/fix-mingw-pagesize'Nick Mathewson
2016-11-08Use va_copy() in pure-windows version of tor_asprintf().Nick Mathewson
2016-11-03Check for getpagesize before using it to mmap filesteor
2016-10-31Actually clamp the number of detected CPUs to 16.Nick Mathewson
2016-09-09Fix cases where the tests were doing closesocket() on a non-socketNick Mathewson
2016-09-06checkSpace.pl now forbids more identifiers.Nick Mathewson
2016-08-12Fix integer overflows in the conversion tablescypherpunks
2016-07-29Keep make check-spaces happyAndrea Shepard
2016-07-28Fix a huge pile of -Wshadow warnings.Nick Mathewson
2016-07-08Move our "what time is it now" compat functions into a new moduleNick Mathewson
2016-06-20Small coverage improvements on compat.cNick Mathewson
2016-06-20compat.c coverage: simplify under-tested alloc_getcwd.Nick Mathewson
2016-06-17Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONScypherpunks
2016-06-16add LCOV_EXCL for unreachable exit() blocks in src/commonNick Mathewson
2016-06-15Mark src/common tor_assert(0)/tor_fragile_assert() unreached for coverageNick Mathewson
2016-05-30Replace nearly all XXX0vv comments with smarter onesNick Mathewson
2016-05-12Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-05-12Merge branch 'bug18977_026_v2' into maint-0.2.7Nick Mathewson
2016-05-12Merge branch 'bug18977_024_v2' into bug18977_026_v2Nick Mathewson
2016-05-12Have correct_tm set tm_wday as well.Nick Mathewson
2016-02-28clean/extend some module docs, including fix from #18403Nick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2016-02-16Merge branch 'bug17852_revised'Nick Mathewson
2016-01-27Correct further grammatical errors in tor commentsNick Mathewson
2016-01-13Add tests for options_actOla Bini
2015-12-17Improve warning messagecypherpunks
2015-12-15Merge branch 'feature8195_small_squashed'Nick Mathewson
2015-12-15Update KeepCapabilities based on comments from asnNick Mathewson
2015-12-15Add ability to keep the CAP_NET_BIND_SERVICE capability on LinuxNick Mathewson
2015-12-15Replace usage of INLINE with inlinecypherpunks
2015-12-01src/common/compat.c:tor_vasprintf() - vsnprintf() was properly checked but to...Jeremy
2015-12-01src/common/compat.c:tor_vasprintf() - changed vsnprintf() to tor_vsnprintf() ...Jeremy
2015-11-27use sockaddr_storage for stack-allocated sockets in ersatz socketpairNick Mathewson
2015-11-27Make SIZEOF_SOCKADDR return socklen_t to avoid bad compares.Nick Mathewson
2015-11-27Use uint16_t, not in_port_t (which does not exist on Windows). See #17638.Nick Mathewson
2015-11-20fix "make check-spaces"Nick Mathewson
2015-11-19Make tor_ersatz_socketpair work on IPv6-only systemsteor (Tim Wilson-Brown)
2015-08-21Fix a bunch of check-spaces complaintsSebastian Hahn
2015-08-11Fix windows compilationNick Mathewson
2015-08-10Merge remote-tracking branch 'public/feature16734'Nick Mathewson
2015-08-05Add a compat function to check how much disk space is free.Nick Mathewson
2015-08-05Set the open file limit to the current value before changing itDavid Goulet
2015-07-30Add get_max_sockets() and remove dead codeDavid Goulet
2015-07-16Fix most check-spaces issuesNick Mathewson