- 15 Feb, 2011 13 commits
-
-
Rusty Russell authored
If children and parents aren't isolated properly (ie. failtest is buggy) we really want to run gdb on a failing child. This hack allows that.
-
Rusty Russell authored
open fails in fairly normal cases; don't double execution time for this!
-
Rusty Russell authored
We insist they write the same things to pipes, since we can't "undo" them, but strictly speaking we don't care if they write different things into files. Note: it may indicate a bug if they do...
-
Rusty Russell authored
-
Rusty Russell authored
The idea of saving files as we do writes doesn't work with mmap: this just saves the entire contents of all open files before forking child, and restores them afterwards.
-
Rusty Russell authored
Use the same structure we use in the history.
-
Rusty Russell authored
Each function in the history stores a cleanup function, rather than storing extra structures. In particular, we save writes and file offsets using this.
-
Rusty Russell authored
Append a "+" if you want to start forking as normal.
-
Rusty Russell authored
Useful for showing exactly where we inserted failures, and how long each one took.
-
Rusty Russell authored
Correctly mark which calls we failed.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
Catch fcntl, particularly fcntl locks.
-
- 17 Feb, 2011 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 22 Feb, 2011 7 commits
-
-
Rusty Russell authored
-
Sam Vilain authored
If 'localhost' exists in /etc/hosts with a v4 and a v6 address, the hack which joins two addrinfo entries together is not necessary. Detect to see if 'localhost' returned a v6 address, and if so, just return the single linked list result from getaddrinfo() (Reworked by Rusty Russell) Signed-off-by:
Sam Vilain <sam@vilain.net>
-
Andreas Schlick authored
-
Andreas Schlick authored
-
Rusty Russell authored
-
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 1 commit
-
-
Rusty Russell authored
-