diff --git a/main.cpp b/main.cpp index a6f7c8d4..8b6fee69 100644 --- a/main.cpp +++ b/main.cpp @@ -2231,6 +2231,7 @@ std::pair read_input(std::vector &sources, char *fname, i serialize_ulong_long(geomfile, 0, &geompos, fname); // EOF estimated_complexity = geompos; + fflush(geomfile); pwrite(fileno(geomfile), &estimated_complexity, sizeof(estimated_complexity), 0); if (fclose(geomfile) != 0) {