- Packed .c3l files without compressions weren't unpacked correctly.

This commit is contained in:
Christoffer Lerno
2026-01-25 19:13:42 +01:00
parent 75d454b6a6
commit 74e228688a
2 changed files with 2 additions and 0 deletions

View File

@@ -130,6 +130,7 @@
- Bitstruct accidentally allowed other arrays than char arrays #2836
- Bitstruct as substruct fails to properly work with designated initializers. #2827
- Bug when initializing an inferred array with deep structure using designated init #2826
- Packed .c3l files without compressions weren't unpacked correctly.
### Stdlib changes
- Add `ThreadPool` join function to wait for all threads to finish in the pool without destroying the threads.

View File

@@ -277,6 +277,7 @@ const char *zip_file_write(FILE *zip, ZipFile *file, const char *dir, bool overw
}
left_to_read -= written;
}
fclose(f);
return NULL;
}