1. 19 Mar, 2012 5 commits
  2. 26 Feb, 2012 3 commits
  3. 14 Feb, 2012 2 commits
    • Rusty Russell's avatar
      tdb: delete from CCAN. · 7581be1b
      Rusty Russell authored
      This was an early experiment in putting code into CCAN, but TDB is a public
      library distributed as part of the Samba sources; there is no reason to
      publish it here (especially now the unit tests are also in Samba).
      7581be1b
    • Rusty Russell's avatar
      configurator: define HAVE_CCAN. · 98b8ada2
      Rusty Russell authored
      An interesting case came up with the tdb2 code in SAMBA recently.  It's a
      public library, and it doesn't want to be dependent on CCAN, but the header
      uses cast and typesafe_cb for extra type safety.
      
      A good solution to this is to put dummy versions under !HAVE_CCAN.  Of course,
      any CCAN config.h should define HAVE_CCAN.
      98b8ada2
  4. 28 Jan, 2012 3 commits
  5. 21 Dec, 2011 2 commits
    • Rusty Russell's avatar
      tdb2: careful on wrap. · 6f7cb26e
      Rusty Russell authored
      It's much harder to wrap a 64-bit tdb2 than a 32-bit tdb1, but we should still
      take care against bugs.
      
      Also, we should *not* cast the length to a size_t when comparing it to
      the stat result, in case size_t is 32 bit.
      6f7cb26e
    • Rusty Russell's avatar
      tdb2: be more careful on 4G files (tdb1). · a3606bbd
      Rusty Russell authored
      I came across a tdb which had wrapped to 4G + 4K, and the contents had been
      destroyed by processes which thought it only 4k long.  Fix this by checking
      on open, and making tdb_oob() check for wrap itself.
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      (Ported from tdb1 SAMBA commit b64494535dc62f4073fc6302847593ed6e6ec38b)
      a3606bbd
  6. 20 Dec, 2011 3 commits
  7. 19 Dec, 2011 1 commit
  8. 16 Dec, 2011 1 commit
  9. 15 Dec, 2011 1 commit
  10. 12 Dec, 2011 5 commits
  11. 07 Dec, 2011 5 commits
  12. 05 Dec, 2011 5 commits
  13. 04 Dec, 2011 2 commits
  14. 03 Dec, 2011 1 commit
  15. 02 Dec, 2011 1 commit