- 22 Feb, 2011 2 commits
-
-
Rusty Russell authored
-
-
- 18 Feb, 2011 1 commit
-
-
Rusty Russell authored
-
- 11 Feb, 2011 10 commits
-
-
Stewart Smith authored
move daemon-with-notify to daemon_with_notify as dashes aren't allowed in CCAN module names (and ccanlint segfaults on them)
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
Stewart Smith authored
-
- 10 Feb, 2011 1 commit
-
-
Stewart Smith authored
-
- 07 Feb, 2011 2 commits
-
-
Joel Stanley authored
The type checking function does not use its parameter: ccan/opt/opt.h: In function ‘_check_is_entry’: ccan/opt/opt.h:328:53: warning: unused parameter ‘e’ Annotate the function using UNUSED from compiler.h. This commit also adds compiler.h as a dependency for opt.
-
Joel Stanley authored
OPT_ENDTABLE does not initalise all the elements in stuct opt_table. When compliling with -Wextra -Wmissing-field-initializers is enabled, which produces the following warning: iviewiir.c:299:9: error: missing field 'cb' initializer [-Wmissing-field-initializers] OPT_ENDTABLE ^ In file included from iviewiir.c:12: ./ccan/opt/opt.h:82:38: note: instantiated from: #define OPT_ENDTABLE { NULL, OPT_END } ^ By changing the definition of OPT_ENDTABLE to initalise all 7 elements of struct opt_table, the warning is silenced.
-
- 04 Feb, 2011 1 commit
-
-
Brad Hards authored
-
- 30 Jan, 2011 1 commit
-
-
Rusty Russell authored
It's cool, but making it standalone is slightly simpler and means license is pure MIT.
-
- 29 Jan, 2011 1 commit
-
-
Rusty Russell authored
Ben Hutchings points out that struct sockaddr isn't large enough to hold a struct sockaddr_in6. Our example works because we only access the family field, but anyone extending it might be surprised; use a union instead.
-
- 28 Jan, 2011 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 22 Jan, 2011 2 commits
-
-
Brad Hards authored
This can happen if the documentation doesn't have a properly formatted summary line, and it causes the examples_relevant test to segfault.
-
Rusty Russell authored
Brad Hards fixed a two places where score->error was not \n-terminated, and then I found a few more, so make it automatic.
-
- 20 Jan, 2011 1 commit
-
-
Rusty Russell authored
This confuses the output, and makes us sometimes see spurious failure. At least we will still catch valgrind errors in children of failtest, thanks to --error-exitcode=101.
-
- 18 Jan, 2011 4 commits
-
-
Rusty Russell authored
Reordering header makes it more readable, and we don't rely on getopt_long any more.
-
Rusty Russell authored
Two places were using a bogus ccanlint struct: the side-effect was that valgrind options didn't work, nor did license fixups. Make REGISTER_TEST do the extern declaration, and remove the bogus ones.
-
Rusty Russell authored
You can use talloc_array_length() to get the length of a tallocated array.
-
Rusty Russell authored
I originally called this talloc_length(), but SAMBA upstream uses talloc_array_length.
-
- 09 Jan, 2011 2 commits
-
-
Rusty Russell authored
Use this to preserve the entire working directory.
-
Rusty Russell authored
It leads to numerous problems, such as the next ccanlint getting confused trying to compile examples, and "-k examples_compile -k examples_exist" giving bogus errors. So instead we leave the temporary dir lying around and delete individual files which aren't marked "keep".
-
- 18 Jan, 2011 2 commits
-
-
Rusty Russell authored
Otherwise valgrind will report that tests leak memory.
-
Rusty Russell authored
This makes some cases simpler, where you no longer want malloc etc. to fail.
-
- 17 Jan, 2011 8 commits
-
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-
Brad Hards authored
-