Nikita Popov
db6d93feca
Remove some more unnecessary macros from phar
2013-09-13 21:49:09 +02:00
Nikita Popov
e6b228332f
Remove PHAR_(Z)STR* usages
2013-09-13 21:49:09 +02:00
Nikita Popov
39bd738fbf
Remove version checks in phar
...
No need to keep around compatability code for PHP 5.0 and PHP 6.
2013-09-13 21:47:59 +02: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
Veres Lajos
4749457a49
HASH_KEY_NON_EXISTANT fix
2013-07-21 20:09:53 -07:00
Pierre Joye
7ec2e5314e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
more check for php_stream_fopen_tmpfile failure
2013-05-14 16:45:56 +02:00
Pierre Joye
ba1af29805
more check for php_stream_fopen_tmpfile failure
2013-05-14 16:45:11 +02:00
Xinchen Hui
c2f8e90504
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-06 10:20:00 +08:00
Xinchen Hui
bc11e6fdbb
bump year
2013-01-06 10:19:09 +08:00
Anatoliy Belsky
f962260081
merged changes for bug #63297 from 5.3
2012-10-25 09:40:21 +02:00
Anatoliy Belsky
6e23cfeba4
fixed a typo in the error message
2012-10-25 09:26:44 +02:00
Anatoliy Belsky
a88379e03d
Fixed bug #63297 Phar fails to write an openssl based signature
...
Unitialized values warnings seem to be everyday life
when working with openssl. For more read
http://www.openssl.org/support/faq.html#PROG13
So just fixing so the bug, no care about those
warnings.
2012-10-24 13:38:44 +02:00
Felipe Pena
13768f8650
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 15:09:18 -03:00
Felipe Pena
f4054afe40
- Value stored to var is never used
2012-08-19 15:09:14 -03:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Hannes Magnusson
e723c7631c
Fixed bug#53872 (internal corruption of phar)
2011-08-29 16:05:45 +00:00
Hannes Magnusson
25352ba350
Fixed bug#53872 (internal corruption of phar)
2011-08-29 16:05:45 +00:00
Xinchen Hui
4c2e6c1cf6
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Xinchen Hui
cc42ac9d9b
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Felipe Pena
12d2104277
- Year++
2011-01-01 02:48:19 +00:00
Felipe Pena
d90a33d51c
- Year++
2011-01-01 02:46:03 +00:00
Kalle Sommer Nielsen
1fed0e5a84
Kill some more constness warnings in com_dotnet/phar/standard
2010-11-19 16:03:00 +00:00
Kalle Sommer Nielsen
cb30330800
Merge safe_mode changes into extensions that are in sync in both branches
2010-04-26 23:55:03 +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
Greg Beaver
d39fda5ff7
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
e8756a3c3c
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
c92396a82c
merge unmerged changes between branches, remove unnecessary test for zip signature failure in badparameters.phpt
2009-07-24 17:07:05 +00:00
Greg Beaver
2a0668d57b
fix signature generation/validation for zip archives by phar extension, fix a few edge cases where memory was leaked on error conditions by missing efree()
2009-07-24 15:42:17 +00:00
Greg Beaver
42e0e5dfb7
fix signature generation/validation for zip archives by phar extension, fix a few edge cases where memory was leaked on error conditions by missing efree()
2009-07-24 15:42:17 +00:00
Greg Beaver
f21744809e
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:27 +00:00
Greg Beaver
31f3c2ad47
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:09 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Marcus Boerger
e2ab5164ce
- MFH Fix dependency from Phar to hash
2008-11-04 01:27:52 +00:00
Greg Beaver
329229071f
MFB: fix several errors found by valgrind
...
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:24 +00:00
Greg Beaver
86f8d0a8e9
fix several errors found by valgrind
...
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:09 +00:00
Greg Beaver
c448cb165c
MFB: add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:30 +00:00
Greg Beaver
e16636f069
add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:11 +00:00
Greg Beaver
44cb95a53d
MFB: fix reading links from streams (works with PharFileInfo->getContent())
2008-10-11 22:12:18 +00:00
Greg Beaver
59379244ad
fix reading links from streams (works with PharFileInfo->getContent())
2008-10-11 22:12:07 +00:00
Greg Beaver
a4f39f7fa4
MFB: fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:51:27 +00:00
Greg Beaver
fffdf661c9
fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:50:47 +00:00
Greg Beaver
8db86ad19e
MFB: fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:31:18 +00:00
Greg Beaver
9eb83b6ae9
fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:30:55 +00:00
Greg Beaver
a32388a9dc
MFB: fix Bug #46060 : addEmptyDir() breaks
2008-09-13 20:57:15 +00:00
Greg Beaver
760172fcee
fix Bug #46060 : addEmptyDir() breaks
2008-09-13 20:57:09 +00:00
Greg Beaver
a2fdf4bbcc
remove weird relic of development past that somehow made it in here on the last commit
2008-09-11 03:33:10 +00:00
Greg Beaver
6391270b85
MFPHP5: fix Bug #46032 : PharData::__construct wrong memory read
2008-09-11 03:29:42 +00:00