Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Anatol Belski
545b364d56
remove TSRMLS_*
...
either remains or merged in from PHP5
2015-08-02 13:42:01 +02:00
Remi Collet
3638ac2300
don't use deprecated libzip call
2015-05-06 15:16:43 +02:00
Dmitry Stogov
2fa8d67a5c
Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.
2015-03-04 02:05:28 +03:00
Xinchen Hui
b21d9123a5
Fixed #68826 (Resource leak)
2015-01-17 22:56:02 -05:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Andrea Faulds
8a065c554b
Restored zip/oci8 PHP 4 code, add PHP 7 checks
2014-12-05 19:46:31 +00:00
Andrea Faulds
c7157e4cfb
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
2014-12-05 19:46:30 +00:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Xinchen Hui
bea30846bb
Refactor Zip (1 test failed)
2014-05-05 10:49:27 +08:00
Xinchen Hui
c0aba2c641
Refactor basename using zend_string
2014-02-23 18:08:35 +08:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Remi Collet
5dc37b3510
Sync ext/zip with pecl/zip version 1.3.2
...
- update libzip to version 1.11.1. We don't use any private symbol anymore
- new method ZipArchive::setPassword($password)
- add --with-libzip option to build with system libzip
2013-11-04 13:23:36 +01:00
Andrey Hristov
92d27ccb05
Constify streams API and a few other calls down the rabbit hole.
...
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00
Gustavo André dos Santos Lopes
28cd40919d
- Fixed bug #49072 (feof never returns true for damaged file in zip).
2011-02-01 14:43:52 +00:00
Hannes Magnusson
bbd23afa98
Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
...
Also added the filename being access to the stream_get_meta_data() array
2010-12-20 11:00:27 +00:00
Pierrick Charron
71dfe80e05
Remove unused variables
2010-11-17 17:55:18 +00:00
Pierre Joye
6f1cfe3e7f
- fix type and silent warning
2010-11-03 21:50:03 +00:00
Pierre Joye
3b337020fa
- add stat support for zip://
2010-11-03 21:48:08 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Pierre Joye
73fbaa9ee0
- remove double include
2009-08-11 17:08:23 +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
Antony Dovgal
28a22396d4
MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
2008-07-23 11:25:14 +00:00
Antony Dovgal
af00eedf4a
MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams
2008-07-23 09:09:10 +00:00
Pierre Joye
1c0b8e6f15
- rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
...
confusing in head without confusion)
- Add safemode and open basedir checks in zip:// wrapper (revert Ilia's
patch). Bug found by Stefan Esser in his MOPB-20-2007
2007-03-14 11:08:57 +00:00
Ilia Alshanetsky
6d70aa1f4e
Added missing open_basedir & safe_mode checks to zip:// and bzip://
...
wrappers.
Issues idendtified by MOPB-20 and MOPB-21
2007-03-14 03:50:18 +00:00
Ilia Alshanetsky
eaf3d32157
Safety checks
2006-12-23 23:28:39 +00:00
Nuno Lopes
7d75155e01
fix leak in oo_stream.phpt
2006-11-12 00:41:16 +00:00
Ilia Alshanetsky
b0ea656129
Fixed compiler warnings.
2006-07-27 00:36:55 +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