appease warnings & TDD gods
This commit is contained in:
parent
688db98864
commit
db865b407e
2
cbake.l
2
cbake.l
@ -67,7 +67,7 @@ MACROS (@BAKE|@FILENAME|@FILE|@SHORT|@ARGS|@LINE|@STOP|$@|$*|$+)
|
||||
void root(char * filename) {
|
||||
char * path, * terminator;
|
||||
if (!(path = realpath(filename, NULL))) { return; }
|
||||
if (terminator = strrchr(path, '/')) {
|
||||
if ((terminator = strrchr(path, '/'))) {
|
||||
*terminator = '\0';
|
||||
chroot(path);
|
||||
}
|
||||
|
BIN
test.a.txt
Normal file
BIN
test.a.txt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user