Skip to content
Snippets Groups Projects
  1. Oct 03, 2013
  2. Sep 29, 2013
  3. Sep 25, 2013
  4. Aug 27, 2013
  5. Jun 19, 2013
    • Guy Zana's avatar
      bsd: avoid using extern "C" in c++ files · 8536721b
      Guy Zana authored
      1. it is much cleaner that the header files perform extern "C" themselves,
         so they can be included both from C and C++ code.
      
      2. when doing extern "C" from a C++ file then __cplusplus is also defined,
         and compilation can break in some situations.
      
      3. as a bonus, this patch increase compilation time.
      8536721b
    • Nadav Har'El's avatar
      Fix "ifconfig" corrupting accept_mtx · 073d9ea7
      Nadav Har'El authored
      ifconfig used to call sofree(), which assumed accept_mtx was taken, which
      wasn't true, resulting in either an assertion failure (if we implement
      assert_mtx - see next patch) or a mutex corruption (if assert_mtx does
      nothing).
      
      Instead, we should call soclose(). This wasn't very hard to figure out,
      given the comment in socreate() saying "The socket should be closed with
      soclose()." :-)
      073d9ea7
  6. Jun 04, 2013
  7. Jun 03, 2013
Loading