WIP/cpp -> next #31

Closed
crtxcr wants to merge 16 commits from WIP/cpp into next
4 changed files with 1864 additions and 1726 deletions
Showing only changes of commit 7f083909e6 - Show all commits

View File

@ -10,7 +10,7 @@ clean:
rm -f test testcpp
test: test.c exile.h
$(CC) test.c -g $(CFLAGS) -o test
$(CC) test.c exile.c -g $(CFLAGS) -o test
testcpp: test.cpp exile.h exile.hpp
$(CXX) test.cpp -g $(CXXFLAGS) -o testcpp

1841
exile.c Normal file

File diff suppressed because it is too large Load Diff

1746
exile.h

File diff suppressed because it is too large Load Diff

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/");