exile.h: Move definitions to new file exile.c

Especially with exile_launch(), we will be included
from more than one translation unit. Thus, ODR becomes
a headache now.

So move definitions to exile.c.
This commit is contained in:
2022-03-14 21:31:56 +01:00
parent 005851c645
commit 69829374c7
4 changed files with 1864 additions and 1726 deletions

1
test.c
View File

@ -489,6 +489,7 @@ int test_no_new_fds()
}
extern int mkpath(const char *p, mode_t mode, int baseisfile);
int test_mkpath()
{
system("rm -rf /tmp/.exile.h/");