Loading tools/bit/util.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -241,6 +241,8 @@ read_file(const string& filename) char* buf = (char*)malloc(size); if ((size_t) size != fread(buf, 1, size, file)) { free(buf); fclose(file); return string(); } Loading Loading
tools/bit/util.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -241,6 +241,8 @@ read_file(const string& filename) char* buf = (char*)malloc(size); if ((size_t) size != fread(buf, 1, size, file)) { free(buf); fclose(file); return string(); } Loading