tal/path: handle weird case of path_join("") It seems most sensible to make it a noop, but it definitely shouldn't access out of bounds as it does. Reported-by: Russ Dill Fixes: #61 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tal: make tal_next() only return immediate children. I tried to use it and got this wrong: moreover, I wanted to control topology, which requires nested iteration, and skip children of a node which I knew was changing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tal/path: new module Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Header from folded patch 'path-talloc-take.patch': tal/path: accept take() for arguments. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>