appease warnings & TDD gods

This commit is contained in:
Chad C. Starz 2024-09-26 22:20:29 +00:00
parent 688db98864
commit db865b407e
No known key found for this signature in database
GPG Key ID: CEEBC9208C287297
2 changed files with 1 additions and 1 deletions

View File

@ -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

Binary file not shown.