- 21 Oct, 2010 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 20 Oct, 2010 10 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
In particular, gcc warns about cast from int to pointer.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
Instead, directly control write().
-
Rusty Russell authored
%.* => unsigned, not size_t.
-
Rusty Russell authored
%zu for size_t printf.
-
Rusty Russell authored
Make sure we use 1UL to bitshift, not 1.
-
Rusty Russell authored
printf's %.* means an unsigned arg, not a size_t.
-
- 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 13 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.
-