1. 08 Dec, 2014 2 commits
  2. 24 Nov, 2014 1 commit
  3. 18 Nov, 2014 2 commits
  4. 11 Nov, 2014 1 commit
  5. 10 Nov, 2014 1 commit
  6. 02 Nov, 2014 9 commits
  7. 26 Sep, 2014 3 commits
  8. 18 Sep, 2014 2 commits
  9. 13 Sep, 2014 1 commit
    • Max Kellermann's avatar
      thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSD · e304d0f8
      Max Kellermann authored
      On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are
      not compatible with C++11 "constexpr" (see Mantis ticket 0004110).  As
      a workaround, don't ues "constexpr", and use the functions
      pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and
      pthread_cond_destroy() instead.  This adds some runtime overhead, but
      is portable to POSIX implementations that have awkward initializer
      macros.
      e304d0f8
  10. 09 Sep, 2014 1 commit
  11. 07 Sep, 2014 3 commits
  12. 06 Sep, 2014 1 commit
  13. 04 Sep, 2014 1 commit
    • Max Kellermann's avatar
      protocol/ArgParser: fix integer overflow in parse_range() · 421c4ae9
      Max Kellermann authored
      Casting std::numeric_limits<unsigned>::max() to "long" leads to an
      overflow if sizeof(unsigned)==sizeof(long), and the result will be -1.
      
      This happens on some 32 bit architectures, for example ARM and WIN32.
      
      Workaround: use std::numeric_limits<int>::max(), which is the largest
      signed integer.  Since sizeof(long)>=sizeof(int), this will never
      overflow.
      
      Fixes Mantis ticket 0004080.
      421c4ae9
  14. 31 Aug, 2014 4 commits
  15. 29 Aug, 2014 1 commit
  16. 24 Aug, 2014 2 commits
  17. 23 Aug, 2014 1 commit
  18. 21 Aug, 2014 2 commits
  19. 16 Aug, 2014 1 commit
  20. 13 Aug, 2014 1 commit