Herman Semenov
dd91a4db20
Remove excess checks before free()
...
References:
- https://pubs.opengroup.org/onlinepubs/009695399/functions/free.html
- https://stackoverflow.com/a/18775633
2025-03-05 10:26:44 -08:00
Nathan Moinvaziri
2c51fa719e
Clang-format style changes.
2024-11-01 16:37:57 -07:00
Nathan Moinvaziri
217adc9363
Remove first param from create functions.
...
Better handle low memory situations.
2023-04-09 11:14:26 -07:00
Nathan Moinvaziri
c9fc27ccee
Use calloc instead of malloc + memset and use strdup where possible.
2023-02-24 14:35:31 -08:00
Nathan Moinvaziri
261041dabc
Remove useless MZ_CUSTOM_ALLOC and MZ_CUSTOM_FREE.
...
It would have required an include to make it useful.
2023-02-24 14:23:04 -08:00
Nathan Moinvaziri
f07faecdde
Remove all comparisons to NULL.
2023-02-19 16:04:13 -08:00
Nathan Moinvaziri
03e4d2213d
Remove copyright years.
2023-02-16 13:14:21 -08:00
Nathan Moinvaziri
db95894646
Updated name of project to minizip-ng.
2021-01-23 16:19:05 -08:00
Nathan Moinvaziri
50150e0ea3
Code cleanup.
2020-12-22 17:24:11 -08:00
Nathan Moinvaziri
ef93d65a5d
Always store all zip64 extension values for maximum compatibility. #543
...
Update zip64 extension values if not using data descriptor.
Co-authored-by: Vlad Lipskiy <eswcvlad@yahoo.com>
2020-12-22 17:20:04 -08:00
Nathan Moinvaziri
70811ac6f5
Remove version number from headers.
2020-06-19 21:21:12 -07:00
Nathan Moinvaziri
dc6962b5fa
Use same brace style as zlib.
2020-06-14 22:00:02 -07:00
Nathan Moinvaziri
2aa369c468
Version 2.9.3.
2020-05-21 07:31:09 -07:00
Nathan Moinvaziri
b39f7a0e89
Version 2.9.2.
2020-02-12 08:38:09 -08:00
Nathan Moinvaziri
370ab036f3
Version 2.9.1.
2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
10ac291d91
Version 2.9.0.
2019-09-18 16:55:43 -07:00
Nathan Moinvaziri
fe33c3d1b6
Fixed invalid literal PRI- when compiling with C++. #416
2019-09-16 11:07:43 -07:00
Nathan Moinvaziri
32fd805440
Version 2.8.9.
2019-07-04 10:32:02 -07:00
Nathan Moinvaziri
fbfd4e82f7
Version 2.8.8.
2019-05-22 17:50:39 -07:00
Nathan Moinvaziri
64c4c7f868
Version 2.8.7.
2019-05-09 18:46:18 -07:00
Nathan Moinvaziri
4fe0687243
Version 2.8.6.
2019-04-08 13:26:32 -07:00
Nathan Moinvaziri
488f20ff1b
Version 2.8.5.
2019-03-17 09:38:10 -07:00
Nathan Moinvaziri
9805ab4117
Version 2.8.4.
2019-02-14 17:16:01 -08:00
Nathan Moinvaziri
2e2f995eda
Version 2.8.3.
2019-01-26 16:49:48 -08:00
Nathan Moinvaziri
2ca7f3950c
Version 2.8.2.
2019-01-08 16:07:10 -08:00
Nathan Moinvaziri
1ff40343b5
Version 2.8.1.
2018-12-01 09:59:19 -08:00
Nathan Moinvaziri
5cb88b8f09
Version 2.8.0.
2018-11-24 17:59:11 -08:00
Nathan Moinvaziri
b16ab566ef
Change comments to C89 style.
...
Added _POSIX_C_SOURCE definition for necessary version of POSIX.
2018-11-20 16:56:21 -08:00
Nathan Moinvaziri
1ee609b759
Make inttypes.h optional. #345
2018-11-19 21:34:35 -08:00
Nathan Moinvaziri
fb8a1cc220
Remove forward includes.
2018-11-19 18:01:53 -08:00
Nathan Moinvaziri
4d4c9db5b0
Create dummy inttypes.h if it doesn't exist in compatibility mode. #344
2018-11-13 17:55:33 -08:00
Nathan Moinvaziri
264dc189b3
Revert "Remove inttypes.h."
2018-11-13 17:42:13 -08:00
Nathan Moinvaziri
b2b082c67d
Version 2.7.5.
2018-11-13 15:22:15 -08:00
Nathan Moinvaziri
effc1428ff
Remove inttypes.h.
2018-11-08 15:24:17 -08:00
Nathan Moinvaziri
30a5288bf4
Fixed debug printing for buffered stream.
2018-11-07 20:09:36 -08:00
Nathan Moinvaziri
c47090678d
Version 2.7.4.
2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
826113fd6c
Version 2.7.3.
2018-11-04 12:52:58 -08:00
Nathan Moinvaziri
888e8a7324
Version 2.7.2.
2018-11-02 17:47:53 -07:00
Nathan Moinvaziri
54dffe95e9
Version 2.7.1.
2018-11-01 10:40:24 -07:00
Nathan Moinvaziri
a221da4ae0
Version 2.7.0.
2018-10-28 16:47:53 -07:00
Nathan Moinvaziri
05e03cad8e
Added additional error codes to aid in debugging.
2018-10-28 16:15:13 -07:00
Nathan Moinvaziri
ff6f2a1db6
Version 2.6.0.
2018-10-08 23:48:58 -07:00
Nathan Moinvaziri
fe145502a6
Fixed compiler warnings.
2018-10-08 23:32:38 -07:00
Nathan Moinvaziri
ca8059ef61
Version 2.5.4.
2018-09-30 10:44:16 -07:00
Nathan Moinvaziri
825bfb8fbf
Version 2.5.3.
2018-09-18 20:34:01 -07:00
Nathan Moinvaziri
e09ea0e515
Merge branch 'master' into dev
2018-09-17 07:44:45 -07:00
Antoine Cœur
dd54b153c0
Fix minor typo
2018-09-11 09:59:57 +08:00
Viktor Szakats
e7215072a0
enable warnings for gcc/clang, misc minor fixes
...
* enable -W -Wall for gcc and clang
* fix strncpy() calls that may potentially leave the target buffer without
a terminating zero byte (in mz_zip_rw.c)
* fix warnings
* remove const from mz_path_remove_filename() parameter,
the function is writing the passed buffer
* fix pedantic warnings (in mz_strm_buf.c):
warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
* fix spaces at EOL
* fix a redefinition warning for HAVE_ARC4RANDOM_BUF on macOS
2018-09-04 22:58:02 +00:00
Nathan Moinvaziri
85d36c5e83
Clean up includes. #306
2018-08-31 16:43:41 -07:00
Nathan Moinvaziri
5d9f95fca1
Fixed code analysis warnings.
2018-08-30 16:22:25 -07:00