Commit Graph

45 Commits

Author SHA1 Message Date
Anatoliy Belsky
f4a44f18b8 rechecked the merged libzip, took also the indents from the original to
avoid confusion next time
2012-06-07 21:01:31 +02:00
Anatoliy Belsky
a39bcfc5ee fixed a double freeing crash 2012-06-07 21:01:31 +02:00
Anatoliy Belsky
9a2365412e fixed header include 2012-06-07 21:01:31 +02:00
Anatoliy Belsky
335a11b14b initial libzip upgrade patch to 0.10.1 2012-06-07 21:01:31 +02:00
Stanislav Malyshev
4a2b458835 fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) 2011-01-30 22:28:57 +00:00
Gustavo André dos Santos Lopes
2070f153f9 - Fixed bug #53568 (swapped memset arguments in struct initialization). 2010-12-17 23:05:26 +00:00
Pierre Joye
a6c3ac1016 - missing patch (update to 0.9.3) 2010-02-01 21:20:07 +00:00
Pierre Joye
3ef47217d7 - update to 0.9.3 2010-02-01 20:56:03 +00:00
Pierre Joye
a28a91cc0c - fix leak 2010-02-01 18:58:42 +00:00
Pierre Joye
33a93474df - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Pierre Joye
38bb4c1099 - MFB: Fix #48763, create corrupt archive 2009-07-19 15:32:09 +00:00
Pierre Joye
f031901b1b - WS 2009-07-19 15:20:48 +00:00
Mikko Koppanen
5645de756d Closes bug #47667 2009-03-16 10:19:43 +00:00
Pierre Joye
206a7cef30 - year++ 2009-01-02 00:39:14 +00:00
Pierre Joye
d00fb8b360 - MFB: restore overwrite feature (regression introduced in 5.2.8) 2009-01-02 00:07:57 +00:00
Pierre Joye
14f2f4148c - MFB: restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-02 00:04:33 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Pierre Joye
490a342205 - MFH: update to 0.9 (torrentzip support, files open only when necessary), windows fixes 2008-08-07 23:24:11 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Pierre Joye
b734bf4b97 - sync with PECL HEAD 2008-05-21 09:27:41 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Greg Beaver
a0624708c7 MFH: fix windows build for all cases, and always export symbols (Steph Fox) 2008-01-14 03:16:08 +00:00
Greg Beaver
42ef796add MFH: add missing define for statically-built zip ext 2008-01-13 23:37:41 +00:00
Greg Beaver
ccc0d6e32b a few fixes: overwrite all my careful work in zipint_alias.h with zipint.h, so had to restore that.
PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
2008-01-13 06:22:27 +00:00
Greg Beaver
c896933b7c MFH: alias all zip identifiers to avoid potential name conflicts with other apache libs that may export zip symbols 2008-01-13 06:02:30 +00:00
Greg Beaver
f76eac59c0 MFH: export symbols for use by other extensions like phar 2008-01-12 03:48:39 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
f4a8180f65 Fixed snprintf() usage 2007-02-24 16:23:10 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Frank M. Kromann
66eb5b1dde Fix win32 build 2006-12-01 20:24:58 +00:00
Ilia Alshanetsky
ca89b6dedd last set of zts fixes 2006-11-30 16:38:37 +00:00
Pierre Joye
892c00bb9f #9278 and #39506, force the binary mode for the zip operation only. At least I do not have to set/restore it in each function. 2006-11-15 19:14:02 +00:00
Pierre Joye
1d61562efe #39506 and PECL #9278, should fix the problem for the other SAPI (works for CLI, CGI and embed)
see: http://news.php.net/php.internals/26606 for the details
2006-11-15 16:24:24 +00:00
Nuno Lopes
232bb79bed fix leaks within zip entries in several tests 2006-11-11 23:43:00 +00:00
Nuno Lopes
b3de830b61 fix leak in oo_setArchiveComment.phpt 2006-11-11 23:35:27 +00:00
Pierre Joye
8cb18e8d64 - fix leak in zip_close when the function's succeeded 2006-11-11 19:06:56 +00:00
Pierre Joye
8ad0c6d543 - MFH:
- fix possible leak in statName and statIndex
 - add addEmptyDir() method
 - add zip_stat_init,zip_clear_error and zip_file_clear_error
 - add tests
 - Fix protos (Hannes)
 - setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
Pierre Joye
07b62da9f4 - #38944, freshly created archive has no comment or cdir 2006-09-25 09:00:16 +00:00
Pierre Joye
8d07735332 - MFP:
- add overwrite mode to ZipArchive::open, always starts a new archive
 - Fix safe mode checks on extract
 - Fix possible leaks when a safe mode error has been raised
2006-08-13 21:09:59 +00:00
Pierre Joye
d1ad062be8 - MFH: NL 2006-08-12 17:05:08 +00:00
Pierre Joye
f6b6f0a2f9 - should not have been commited 2006-08-07 20:28:03 +00:00
Pierre Joye
53d297a7ea - this one was not in 2006-07-24 17:26:24 +00:00
SVN Migration
664d102aa6 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-24 16:58:59 +00:00