refactor to facilitate solstice stuff

This commit is contained in:
2026-04-20 19:05:10 +10:00
parent fca9dd63a0
commit 80ee95b918
2 changed files with 130 additions and 147 deletions

View File

@@ -25,7 +25,7 @@ char* getFileContents(const char* filename) {
file = calloc(1, lSize + 1);
if (!file) {
fclose(fp);
fputs("memory allocation fail when reading file", stderr);
fprintf(stderr, "memory allocation fail when reading file %s\n", filename);
exit(1);
}

File diff suppressed because one or more lines are too long