mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
ccan: update so we get exposed path constants.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
c8f9ea7bf7
commit
ccd0e5db54
@@ -128,10 +128,6 @@ static const char *find_my_path(const tal_t *ctx, const char *argv0)
|
||||
{
|
||||
char *me, *tmpctx = tal_tmpctx(ctx);
|
||||
|
||||
/* FIXME: Expose in CCAN! */
|
||||
#define PATH_SEP_STR "/"
|
||||
#define PATH_SEP (PATH_SEP_STR[0])
|
||||
|
||||
if (strchr(argv0, PATH_SEP)) {
|
||||
const char *path;
|
||||
/* Absolute paths are easy. */
|
||||
|
||||
Reference in New Issue
Block a user