- 18 Oct, 2010 2 commits
-
-
Rusty Russell authored
check_free_list returns a length, not bool.
-
Rusty Russell authored
Particularly useful for reproduction, like tdbtorture.
-
- 17 Oct, 2010 2 commits
-
-
Rusty Russell authored
If a Swedish-speaking Finn writes code in English, why should I complain about a few weird spellings?
-
Rusty Russell authored
-
- 15 Oct, 2010 1 commit
-
-
Rusty Russell authored
(Was succeeding in finding "Free bucket 8" string, because of "Free bucket 80:".
-
- 14 Oct, 2010 1 commit
-
-
Rusty Russell authored
-
- 08 Oct, 2010 1 commit
-
-
Rusty Russell authored
Now we get long options!
-
- 07 Oct, 2010 8 commits
-
-
Rusty Russell authored
The former encapsulates a common "just exit on error" case, the latter avoids having to repeat the extra usage string. (We actually would have crashed before if someone passed NULL there, even though the documentation said you could).
-
Rusty Russell authored
-
Rusty Russell authored
A little less typing for users.
-
Rusty Russell authored
compiler, list, noerr, sparse_bsearch, str, str_talloc, stringmap, talloc_link, tdb, tdb2, typesafe_cb: fix examples Phew, now they call compile!
-
Rusty Russell authored
Now (with fixes) every ccanlint example compiles!
-
Rusty Russell authored
-
Rusty Russell authored
/** * struct foo - some description So, <identifier> here can have a space in it.
-
Rusty Russell authored
This hit my doc extraction tool, so fix it!
-
- 06 Oct, 2010 19 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
This is everything up to the list module... now it's time for sleep.
-
Rusty Russell authored
Including intuiting ccan depends based on headers...
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
In particular, we can assume "somefunc()" exists in our examples.
-
Rusty Russell authored
Try to glue consecutive examples together if all else fails (works well for ccan/alloc/alloc.h). This means we should put examples into list in order.
-
Rusty Russell authored
-
Rusty Russell authored
These are from hash: the entire example is indented, there is no main(), and there are unused static functions.
-
Rusty Russell authored
Some of the compulsory tests don't have a total_score; treat that as "1". And don't print out a score if the total is <= 1.
-
Rusty Russell authored
Don't assume that ../modulename.o already built!
-
Rusty Russell authored
And don't require the module.o to already exist: link against generated .o files.
-
Rusty Russell authored
Includes primitive attempt to place fragments into appropriate framework to compile them.
-
Rusty Russell authored
We had example names like "example-opt.h-opt_parse", which got trimmed to "example-opt". By using a basename of example-opt.h-opt_parse.c, we only strip the final ".c" not the middle ".h".
-
Rusty Russell authored
-
- 05 Oct, 2010 6 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
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.
-