Commit Graph

261 Commits

Author SHA1 Message Date
Greg Beaver
475cf4d288 fix Bug #48257: PharData throws exception with non-phar tar 2009-05-13 20:25:43 +00:00
Kalle Sommer Nielsen
18e7a82dd4 MFH: Nuke compiler warning 2009-05-13 15:55:12 +00:00
Kalle Sommer Nielsen
776a648f17 MFH: Fix conditional 2009-05-11 06:43:05 +00:00
Felipe Pena
937b429ad8 - Fixed tests 2009-05-11 01:51:07 +00:00
Greg Beaver
6f101e7c06 remove precautionary #ifdef - the problem was fixed by moving the efree inside the zend_try block 2009-05-05 01:41:51 +00:00
Greg Beaver
6eb6df3a20 disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine) 2009-05-04 04:29:25 +00:00
Antony Dovgal
8594654160 fix test 2009-05-01 22:23:59 +00:00
Antony Dovgal
d3438bf9f5 initialize ext_len 2009-05-01 09:22:16 +00:00
Greg Beaver
6289c323d3 MFPECL fix PECL Bug #14646: phar error message unclear with php stream wrappers (note: is there a standard way to list PECL bugs in NEWS?) 2009-04-30 04:43:10 +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
e9d2d08b3c new test - test passes here, but the pear2coverage.phar.php segfaults in apache 2.2 sapi 2009-04-28 19:28:52 +00:00
Jani Taskinen
3d87ef8b21 MFH 2009-04-25 17:57:36 +00:00
Greg Beaver
4d92c7bffc revert removal of openssl check, was confusion on my part 2009-03-01 07:20:26 +00:00
Greg Beaver
26ce51d6f1 add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt 2009-03-01 07:16:46 +00:00
Greg Beaver
1ff3b85d74 fix hash support on windows in ext/phar (Kalle) 2009-03-01 07:07:05 +00:00
Greg Beaver
a51f628bd1 fix blog.phar for front.phar.phpt test 2009-03-01 07:00:13 +00:00
Greg Beaver
a6298331b5 update NEWS with phar enabling, fix swapping of time/date in timestamp saving for zip, which can cause crash on windows 2009-03-01 06:58:01 +00:00
Greg Beaver
79f5f7538c fix SKIPIF, EXPECT in 2 tests 2009-03-01 06:50:26 +00:00
Greg Beaver
af84168de6 fix faulty logic in tests, needed to use ksort instead of asort and to sort output. These tests failed on some systems with non-case sensitive filesystem sorting 2009-02-21 03:15:47 +00:00
Greg Beaver
bd74089a4e cosmetics: remove two unreachable return statements, removes warning in sun cc 2009-02-21 02:37:18 +00:00
Greg Beaver
7707318d61 cosmetics: fix warning (only affects suncc) 2009-02-21 02:32:16 +00:00
Greg Beaver
2344d80015 fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach 2009-02-20 05:06:37 +00:00
Greg Beaver
c351b71f2b fix memleaks on zip corruption 2009-02-16 18:55:06 +00:00
Greg Beaver
874d14b36f re-enable ext/phar on big-endian systems, fixes verified as workign 2009-02-16 16:41:40 +00:00
Greg Beaver
5c6a25e750 fix the last remaining failing test (explicitly pass in SKIP_DOTS to directory iterator) 2009-02-15 21:43:39 +00:00
Greg Beaver
625eb9e0ec fix remaining big-endian issues with phar 2009-02-15 20:29:13 +00:00
Greg Beaver
9221abd00e fix getting/setting of all 16/32 values in zip 2009-02-15 19:22:42 +00:00
Greg Beaver
e8b7091c2c revert accidental commit of config.m4, big-endian isn't ready quite yet 2009-02-15 18:53:22 +00:00
Greg Beaver
d3cea8b054 fix setting of 32-bit value on big-endian systems 2009-02-15 18:51:46 +00:00
Greg Beaver
fd5be66d13 fix bug #47085:rename() returns true even if the file in PHAR does not exist 2009-02-03 18:29:25 +00:00
Greg Beaver
b634bf4ce8 fix bug #47265 (generating phar.phar fails because of safe_mode) 2009-02-03 18:17:24 +00:00
Johannes Schlüter
80f6263bbc Properly disable phar for the moment 2009-01-28 20:39:15 +00:00
Scott MacVicar
fd91a50b71 Disable Phar on big endian systems for beta 1. 2009-01-28 15:53:29 +00:00
Felipe Pena
c3631156fc - Fixed tests 2009-01-25 16:53:07 +00:00
Ilia Alshanetsky
6ca15bfe0f Fixed a possible crash when phar_create_signature() fails 2009-01-02 20:43:41 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Sebastian Bergmann
3c1ed020c7 MFH: Bump copyright year, 2 of 3. 2008-12-31 11:13:54 +00:00
Marcus Boerger
fcf784502e MFH Use ' -f' as requested 2008-12-13 14:49:39 +00:00
Hannes Magnusson
4bfd481076 MFH: fix test 2008-12-09 13:02:40 +00:00
Marcus Boerger
c727b68ca1 - MFH Only show switch -y if available 2008-12-08 00:16:05 +00:00
Marcus Boerger
43c7b7f679 - MFH When installing phar, make phar a link to phar.phar 2008-12-07 23:57:40 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Marcus Boerger
6ca3ad3f41 - MFH We only rely on hash if it is built-in 2008-11-04 14:04:29 +00:00
Marcus Boerger
582cdf9a27 - MFH Add hash dependency at module source level 2008-11-04 13:33:15 +00:00
Marcus Boerger
e2ab5164ce - MFH Fix dependency from Phar to hash 2008-11-04 01:27:52 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +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
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Alexey Zakhlestin
a4d609ab04 proper check for php-version 2008-10-21 12:59:45 +00:00
Alexey Zakhlestin
7ff4c359e6 fixed wrong check for version 2008-10-21 12:26:35 +00:00