1. Aug 31, 2018
    • Marcin Ślusarz's avatar
      Fix v constructor to always initialize its state. · 817c13cf
      Marcin Ślusarz authored
      Depending on how structure containing v is initialized
      runid is intialized or not, which leads memcheck to complain:
      
      Conditional jump or move depends on uninitialised value(s)
         at 0x4E5F3CD: pmemobj_volatile (sync.c:656)
         by 0x10AF36: pmem::obj::v<(anonymous namespace)::foo>::get() (v.hpp:125)
         by 0x10A830: (anonymous namespace)::test_init(pmem::obj::pool<(anonymous namespace)::root>&) (v.cpp:80)
         by 0x10AAC8: main (v.cpp:105)
      817c13cf
  2. Aug 30, 2018
  3. Aug 29, 2018
    • Igor Chorazewicz's avatar
      common: fix array behaviour when its size is zero. · 41c89663
      Igor Chorazewicz authored
      This patch fixes 2 things:
       - Double braced initialization of scalar types is not allowed in C++
         so previous version, where underlying type for zero sized array
         was pointer prevented proper zero-sized array initlizatation.
         (Only some compilers complained about this)
       - Standard states that begin() and end() should return some unique value,
         now it is done by returning address of the array itself. To achive that
         alignment of zero-sized array is equal to alignment of type its holding.
         This approach is also taken by libstdc++.
      41c89663
    • Igor Chorazewicz's avatar
      tests: allow running tests under cgdb from ctest · 743f8cad
      Igor Chorazewicz authored
      by specifying env variable.
      743f8cad
  4. Aug 24, 2018
  5. Aug 23, 2018
  6. Aug 21, 2018
  7. Aug 20, 2018
  8. Aug 17, 2018
  9. Aug 16, 2018
  10. Aug 14, 2018
  11. Aug 11, 2018
  12. Aug 10, 2018
  13. Aug 09, 2018
  14. Aug 08, 2018
  15. Aug 02, 2018
  16. Aug 01, 2018