Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-30 | Silence spurious clang warnings | teor | |
Silence clang warnings under --enable-expensive-hardening, including: + implicit truncation of 64 bit values to 32 bit; + const char assignment to self; + tautological compare; and + additional parentheses around equality tests. (gcc uses these to silence assignment, so clang warns when they're present in an equality test. But we need to use extra parentheses in macros to isolate them from other code). | |||
2013-01-30 | Rename all of the macros in tor_queue.h to start with TOR_ | Nick Mathewson | |
2012-11-03 | Add an SLIST_ENTRY definition back on non-win32 | Nick Mathewson | |
Otherwise we break openbsd headers. Fixes bug 7293; bug not on any released Tor. | |||
2012-11-01 | Rename SLIST_ENTRY to TOR_SLIST_ENTRY to fix windows compilation | Nick Mathewson | |
Apparently winnt.h defines a different SLIST_ENTRY of its own. Bug not in any version of Tor. | |||
2012-10-12 | Add a copy of OpenBSD's sys/queue.h as tor_queue.h | Nick Mathewson | |
There are as many divergent implementations of sys/queue.h as there are operating systems shipping it, it would seem. They have some code in common, but have drifted apart, and have added other stuff named differently. So I'm taking a relatively sane one, and hoping for the best. I'm taking OpenBSD's in particular because of the lack of external dependencies, the presence of a CIRCLEQ (we could use one of those in places), and the liberal licensing terms. I'm naming the file tor_queue.h, since historically we've run into trouble having headers with the same names as system headers (log.h, for example.) |