Marcus Boerger
394a73fbff
Use ' -f' as requested
2008-12-13 14:49:21 +00:00
Hannes Magnusson
2f593a8866
ini_set() should return false on failure, not return the orginal value
...
and pretend everything is fine.
2008-12-09 13:02:27 +00:00
Marcus Boerger
d74dea5b88
- Only show switch -y if available
2008-12-08 00:15:51 +00:00
Marcus Boerger
97cb6dd677
- When installing phar, make phar a link to phar.phar
2008-12-08 00:00:16 +00:00
Felipe Pena
43791516db
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)
2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:10:13 +00:00
Greg Beaver
1699efd72b
last commit was an old patch, revert faulty line
2008-10-26 05:51:04 +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
Felipe Pena
7eb2715464
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:34:17 +00:00
Alexey Zakhlestin
37c4e3c5ac
MFB: proper check for php-version
2008-10-21 13:00:29 +00:00
Felipe Pena
c2e64169f5
- Fixed bug #45726 (PHP_Archive / Archive.php missing)
2008-10-17 01:53:26 +00:00
Greg Beaver
51e82ec848
MFB: last test for cached phar copy on write (forgot this one yesterday)
2008-10-14 00:38:11 +00:00
Greg Beaver
1838c130c9
MFB: increase code coverage
2008-10-13 04:50:45 +00:00
Greg Beaver
072f4489de
MFB: add complete tests verifying copy-on-write for cached phars
2008-10-13 04:21:19 +00:00
Greg Beaver
0315794cf4
MFB: fix faulty tests
2008-10-12 23:33:08 +00:00
Antony Dovgal
79ec5dc2b9
fix ZTS build
2008-10-12 21:09:10 +00:00
Greg Beaver
15fc837b99
MFB: fix incorrect key for Phar destructor
2008-10-12 19:45:12 +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
4bd8bacde7
add missing --INI-- section
2008-10-12 18:54:13 +00:00
Greg Beaver
10d023be20
MFB: add new test for copy-on-write, fix copy-on-write for Phar/PharFileInfo methods
2008-10-12 06:53:52 +00:00
Greg Beaver
cd15c694ec
fix test files
2008-10-12 06:44:01 +00:00
Greg Beaver
5540b03782
need to re-add as binary
2008-10-12 06:43:46 +00:00
Greg Beaver
6850f3276b
increase code coverage
2008-10-12 05:41:34 +00:00
Greg Beaver
692222f12a
MFB: fix links for fseek as well
2008-10-11 22:21:07 +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
df7756f244
MFB: cosmetics/maintainability: reduce code redundancy on error conditions
2008-10-11 21:23:13 +00:00
Greg Beaver
7a04372a2d
MFB: work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression
2008-10-11 21:02:53 +00:00
Greg Beaver
a4f39f7fa4
MFB: fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:51:27 +00:00
Greg Beaver
4c5830dd8d
fix test (thanks Tony)
2008-09-30 13:25:54 +00:00
Greg Beaver
d86427434a
MFB: fix Bug #46194 : SIGSEGV when requested file is not found
2008-09-30 02:40:37 +00:00
Greg Beaver
ae98beaf02
MFB: fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix
2008-09-26 23:35:11 +00:00
Greg Beaver
08139f40b3
MFB: fix bug #46178 : memory leak in ext/phar
2008-09-26 16:30:10 +00:00
Greg Beaver
87fe536371
MFB: fix another memory leak
2008-09-26 04:54:22 +00:00
Greg Beaver
59465a879d
MFB: fix obvious memory leak
2008-09-26 04:41:40 +00:00
Greg Beaver
0653e0a142
MF53: workaround for Bug #46147 for PHP < 5.2.7
2008-09-22 01:40:51 +00:00
Greg Beaver
32a20c3040
MFB: fix compile on IRIX with MIPSPro (Bug #46072 )
2008-09-14 06:46:57 +00:00
Greg Beaver
2f54ca9c7a
MFB: increase code coverage, fix bzip2-compressed alias in zip
2008-09-14 06:32:52 +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
a32388a9dc
MFB: fix Bug #46060 : addEmptyDir() breaks
2008-09-13 20:57:15 +00:00
Arnaud Le Blanc
2f52949fec
make pharcommand.inc works without ereg
2008-09-12 16:08:42 +00:00
Antony Dovgal
542be32668
fix test
2008-09-11 13:38:06 +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
Steph Fox
46504d3451
- MFB Remove pre-made phar.phar
2008-09-01 15:48:54 +00:00
Steph Fox
05c3104097
- Missed the files we don't use yet
2008-08-31 21:09:10 +00:00
Steph Fox
f8d8b7fb11
- Note to self: don't try to second-guess Greg
2008-08-31 20:55:52 +00:00
Steph Fox
cd011d1e9a
- MFB
2008-08-31 20:54:28 +00:00
Greg Beaver
a036fadb91
MFB increase code coverage
2008-08-21 20:36:21 +00:00
Dmitry Stogov
a256e06404
Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8
2008-08-14 13:02:13 +00:00
Marcus Boerger
d1789653a2
- MFB
2008-08-12 15:37:36 +00:00