- 05 Oct, 2010 5 commits
-
-
Rusty Russell authored
Don't allow NULL descs, and put them in macro. Users can use "", but make sure it's explicit, not an accidental omission. Use errx() instead of assert() for API usage errors. Rename opt_flags to opt_type.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
I still don't like the duplication, but it's clearer and not much longer.
-
Rusty Russell authored
longidx is not updated in this case. We should open-code option parsing.
-
- 03 Oct, 2010 1 commit
-
-
Rusty Russell authored
This is more explicit than separate short and long (great for grep!) and simpler.
-
- 30 Sep, 2010 1 commit
-
-
Rusty Russell authored
-
- 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 1 commit
-
-
Rusty Russell authored
-