- 29 Sep, 2010 1 commit
-
-
Rusty Russell authored
-
- 26 Sep, 2010 9 commits
-
-
Rusty Russell authored
This includes renaming ATTRIBUTE_UNLIKELY_FUNCTION to ATTRIBUTE_COLD, and removing unlikely_func macro from ccan/likely.
-
Rusty Russell authored
Valgrind was giving a spurious error.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
We were getting occasional failures: if all values are the same it's a 1-line graph and there's no "|" anywhere.
-
Rusty Russell authored
-
Rusty Russell authored
Currently they sit in each module.
-
Rusty Russell authored
Macro packages do this.
-
- 25 Sep, 2010 15 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
This is a precursor to doing something useful with them.
-
Rusty Russell authored
-
Rusty Russell authored
As per-tdb's tools.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
We want it to complain if it's wrong...
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
That way we match our comment about optimal tally_new() arg matching histogram height.
-
Rusty Russell authored
-
- 24 Sep, 2010 5 commits
-
-
Rusty Russell authored
Including pretty graphs!
-
Rusty Russell authored
Not as trivial as you might think, with overflow and underflow.
-
Rusty Russell authored
This flag to tdb_open/tdb_open_ex effects creation of a new database: 1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is specified, 2) Places a non-zero field in header->rwlocks, so older versions of TDB will refuse to open it. This means that the caller (ie Samba) can set this flag to safely change the hash function. Versions of TDB from this one on will either use the correct hash or refuse to open (if a different hash is specified). Older TDB versions will see the nonzero rwlocks field and refuse to open it under any conditions.
-
Rusty Russell authored
If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash doesn't match, try tdb_jenkins_hash. This makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH flag.
-
Rusty Russell authored
This is a better hash than the default: shipping it with tdb makes it easy for callers to use it as the hash by passing it to tdb_open_ex().
-
- 23 Sep, 2010 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 14 Sep, 2010 6 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
Also remove TDB_DISALLOW_NESTING flag, since that's the default now.
-
Rusty Russell authored
-
- 13 Sep, 2010 2 commits
-
-
Rusty Russell authored
This is Stefan Metzmacher <metze@samba.org>'s patch with minor changes: 1) Use the TDB_MAGIC constant so both hashes aren't of strings. 2) Check the hash in tdb_check (paranoia, really). 3) Additional check in the (unlikely!) case where both examples hash to 0. 4) Cosmetic changes to var names and complaint message.
-
Rusty Russell authored
We must not endian-convert the magic string, just the rest.
-