1. 30 Nov, 2011 9 commits
  2. 29 Nov, 2011 20 commits
  3. 23 Nov, 2011 2 commits
  4. 21 Nov, 2011 2 commits
  5. 16 Nov, 2011 1 commit
  6. 15 Nov, 2011 2 commits
    • Rusty Russell's avatar
      ccanlint: make fewer tests compulsory. · 441a3cb1
      Rusty Russell authored
      Compulsory means "malformed", we might get rid of it altogether, since
      any test can mark "fail" and make ccanlint exit with non-zero status.
      
      Now we only have four compulsory tests:
         info_exists               Module has _info file
         depends_exist             Module's CCAN dependencies can be found
         objects_build             Module object files can be built
         module_builds             Module can be built from object files
      441a3cb1
    • Rusty Russell's avatar
      ccanlint: fix ccanlint -l · c5940717
      Rusty Russell authored
      c5940717
  7. 01 Nov, 2011 4 commits
    • Rusty Russell's avatar
      tdb2: don't be fascist when TDB_VERSION1 is specified. · 9691464a
      Rusty Russell authored
      We currently insist that a tdb file be a version1 file if tdb_open() is
      passed the TDB_VERSION1 flag; we fail if it's actually a tdb2.
      
      But that makes generic wrappers harder, and is unlikely to be what the
      user wants: if they do, they can check tdb_get_flags() & TDB_VERSION1
      after opening.
      9691464a
    • Rusty Russell's avatar
      strset: set errno to ENOENT even if we return NULL. · 532cd74d
      Rusty Russell authored
      It seems redundant: strset_test() and strset_clear() can only return NULL
      when the string is not a member.  However, it became clear in writing
      ccan/tsort that it's much more convenient for callers if we set errno
      in this case too, so they can pass it up.
      532cd74d
    • Rusty Russell's avatar
      strmap: set errno to ENOENT even if we return NULL. · 8bb0697b
      Rusty Russell authored
      It seems redundant: strmap_get() and strmap_del() can only return NULL
      when the string is not a member.  However, it became clear in writing
      ccan/tsort that it's much more convenient for callers if we set errno
      in this case too, so they can pass it up.
      8bb0697b
    • Rusty Russell's avatar
      ccanlint: fix uninitialized variables in tests_pass_valgrind. · 13911ef7
      Rusty Russell authored
      We weren't initializing the leak_info field when the test was marked
      FAIL in _info (as in tdb2).
      13911ef7