forked from ground/ground
refactor to facilitate solstice stuff
This commit is contained in:
@@ -25,7 +25,7 @@ char* getFileContents(const char* filename) {
|
|||||||
file = calloc(1, lSize + 1);
|
file = calloc(1, lSize + 1);
|
||||||
if (!file) {
|
if (!file) {
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
fputs("memory allocation fail when reading file", stderr);
|
fprintf(stderr, "memory allocation fail when reading file %s\n", filename);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user