summaryrefslogtreecommitdiff
path: root/ccan/daemon_with_notify
AgeCommit message (Collapse)Author
2014-06-16ccan: Correct some poor conventions in _info includesDavid Gibson
There are a couple of small problems with the includes used in most of ccan's _info files. * _info routinely uses printf(), and so should include <stdio.h>, but only some of them do. We get away with it, because they do include <string.h>, which apparently includes <stdio.h> indirectly, but we should be explicit about it. * Most _info files were including config.h after the system headers. That _seems_ sensible, but actually causes problems. Because config.h defines _GNU_SOURCE it can change the behaviour of the system headers. More specifically it can make them behave differently to how the individual module headers (which have included config.h) expects them to behave. This patch adjusts all the existing _info files and, more importantly, the template constructed by ccanlint. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2013-10-29daemonize / daemon_with_notify: ignore Ubuntu 13.10 brain death.Rusty Russell
Apparently init --user adopts orphans. To quote the author Stewart Smith: As much as one can be happy in Ubuntu breaking something that has been true for what must be approaching 40 years, yep, I'm happy for you to make the changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-07-21various: add LICENSE comments.Rusty Russell
2011-02-22licenses: clarify which BSD license it is.Rusty Russell
2011-02-11move daemon-with-notify to daemon_with_notify as dashes aren't allowed in ↵Stewart Smith
CCAN module names (and ccanlint segfaults on them)