Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Fix strict aliasing of sockaddr structures | Philip Withnall | 2014-01-31 | 1 | -3/+6 |
| | | | | | | | | | | | | Casting from one struct sockaddr type to another breaks C’s strict aliasing rules (variables of different types cannot alias). Fix this cleanly by using unions of struct sockaddrs to convert between the types (i.e. type-punning). I wish sockaddr didn’t have to be this painful. See: http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/Optimize-Options.html#Type_002dpunning | ||||
* | Move tests from agent and socket, into its own tests directory.. fixes issue ↵ | Youness Alaoui | 2009-01-14 | 1 | -0/+172 |
when doing make check before doing make all |