Commit Graph

19936 Commits

Author SHA1 Message Date
Antony Dovgal
14a8175ed7 nuke more dead code 2007-01-12 12:31:31 +00:00
Antony Dovgal
ae9a444a63 delete useless comments and skeleton leftovers 2007-01-12 12:16:36 +00:00
Antony Dovgal
521a03c098 fix folding and ws 2007-01-12 12:06:33 +00:00
Ilia Alshanetsky
7861862426 MFB: Use long instead of int where long is expected. 2007-01-12 02:04:27 +00:00
Ilia Alshanetsky
e5a2796223 MFB:
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
	Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:50:43 +00:00
Marcus Boerger
1834516f7a - Reorder includes 2007-01-11 22:57:42 +00:00
Marcus Boerger
ebdb8ac4c1 - Make test compatible with HEAD 2007-01-11 22:46:02 +00:00
Antony Dovgal
2157607928 avoid changing original zval 2007-01-11 22:23:06 +00:00
Marcus Boerger
8117489f19 - Unicode support 2007-01-11 21:33:23 +00:00
Antony Dovgal
8190ad4661 make sure the string is non-empty and use strlcpy() & strlcat() 2007-01-11 16:45:27 +00:00
Antony Dovgal
1494f6f9df fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
2007-01-11 11:58:34 +00:00
Antony Dovgal
4a7093c531 fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) 2007-01-11 11:26:36 +00:00
Sara Golemon
5082591ce2 #ifdef out the rest of that getpwuid_r() patch, see prior commit 2007-01-11 02:31:50 +00:00
Sara Golemon
8ed4339000 Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX 2007-01-11 01:52:24 +00:00
Marcus Boerger
7303202be1 - Fix a few things
- Cleanup
2007-01-11 01:04:47 +00:00
Hannes Magnusson
ea12069755 MFB: Add missing ifdefs 2007-01-10 21:26:09 +00:00
Marcus Boerger
e5762b7241 - Fix mem access 2007-01-10 20:12:14 +00:00
Dmitry Stogov
e28fd01d7d Fixed tests 2007-01-10 16:00:57 +00:00
Hannes Magnusson
b07b4ba78b MFB: fix ifdefs 2007-01-10 15:06:58 +00:00
Marcus Boerger
0295f8bbdc - Fix shutdown issue (keep the speed) 2007-01-10 00:38:17 +00:00
Marcus Boerger
813d4a2451 - Simplify/Add comment 2007-01-10 00:07:45 +00:00
Marcus Boerger
a3020cee1f - Simplify 2007-01-09 23:57:03 +00:00
Marcus Boerger
a7d57a4814 - Fix write support & simplify 2007-01-09 23:23:12 +00:00
Marcus Boerger
af6a28ba0d - Simplify 2007-01-09 22:30:56 +00:00
Marcus Boerger
469a0c68dd - Cleanup 2007-01-09 18:54:37 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Marcus Boerger
c0f01388ca - Improve debugging and fix #40073 2007-01-09 17:52:02 +00:00
Dmitry Stogov
113aa2339d Close open files in case of failure (Amit) 2007-01-09 16:27:32 +00:00
Ilia Alshanetsky
b9f2ed22a2 MFB: Added key_length intialization for intergers 2007-01-09 15:21:23 +00:00
Antony Dovgal
2e08fa381c zerofill info_data and fix possible segfault
partly fixes #40073
2007-01-09 11:37:05 +00:00
Marcus Boerger
3bfece705f - Fix test 2007-01-09 03:03:47 +00:00
Marcus Boerger
887a45e3e8 - Fix fname and alias hash table handling 2007-01-09 02:27:12 +00:00
Marcus Boerger
efba02d38e - Easy debugging 2007-01-09 01:32:09 +00:00
Marcus Boerger
72873b5b27 - Add new test 2007-01-09 00:58:44 +00:00
Marcus Boerger
8e8697b1f7 - Add Phar::getSignature()
- Add Phar::getModified()
- Fix internal hash storage size
- Fix minor memory issues
- Drop boguscode lines (copy'n'paste left over)
- Increase api version to 0.9.0
2007-01-09 00:27:13 +00:00
Marcus Boerger
7093d72b5e - Add initial hash support write/read/verify md5/sha1(default) 2007-01-08 23:03:41 +00:00
Nuno Lopes
6d3b054556 MFB 2007-01-08 22:56:26 +00:00
Nuno Lopes
137415d8bc MFB: remove mshutdown func 2007-01-08 22:35:25 +00:00
Nuno Lopes
2b8323c34a MFB: constify 2007-01-08 22:29:52 +00:00
Sara Golemon
ea81a3a7b7 Add CURLOPT_TCP_NODELAY 2007-01-08 20:04:56 +00:00
Sara Golemon
26e15947ba Allow libxml DomNodes to remain persistent when requested by other extensions 2007-01-08 20:01:23 +00:00
Marcus Boerger
7b069ebc00 - Be picky about names 2007-01-08 19:31:50 +00:00
Marcus Boerger
f6da0a4df6 - Better handler names (group by prefixing) 2007-01-08 19:30:52 +00:00
Andrei Zmievski
8500acc842 Fix IMAP check. 2007-01-08 18:23:23 +00:00
Ilia Alshanetsky
e33869d395 MFB: Use safe_emalloc() rather then emalloc() 2007-01-08 14:25:49 +00:00
Marcus Boerger
8919184420 - Fix test 2007-01-07 20:06:42 +00:00
Greg Beaver
e34af34365 fix unlink 2007-01-07 19:57:26 +00:00
Greg Beaver
420effc193 new test for unset() 2007-01-07 19:45:49 +00:00
Greg Beaver
1ef69b7f08 another attempt to fix unlink()/unset() 2007-01-07 19:45:31 +00:00
Greg Beaver
71c7c383b4 fix unlink - make sure it actually erases the file 2007-01-07 19:05:12 +00:00
Greg Beaver
68b54b4d83 add test to make sure the phar is modified on disk 2007-01-07 18:51:39 +00:00
Marcus Boerger
e947f62b01 - Fix memory issues 2007-01-07 18:35:48 +00:00
Marcus Boerger
0d8ec844d6 - Fix a memleak
- Fix uninitialized mem access
- Fix/improve error handling
- Add INI entry phar.readonly
- Add tests
2007-01-07 16:01:35 +00:00
Hannes Magnusson
8080363f2d Use relative timestamp 2007-01-07 07:59:22 +00:00
Sara Golemon
73cd7bf543 Remaining unicode updates for user filters 2007-01-07 06:29:40 +00:00
Nuno Lopes
f3c60295ed MFB 2007-01-06 20:30:23 +00:00
Nuno Lopes
726dfb0837 MFB: fix build with libming 0.3 2007-01-06 19:26:32 +00:00
Edin Kadribasic
b23813044d Var declarations first (fixes windows build) 2007-01-06 18:58:34 +00:00
Rob Richards
05a532c07a parameter entity argument (pe) should be bool
update test
2007-01-06 18:03:15 +00:00
Hannes Magnusson
71a68db63e MFB: fix skipif 2007-01-06 16:57:42 +00:00
Hannes Magnusson
be32e75cf0 Fix parameter parsing 2007-01-06 15:53:55 +00:00
Dmitry Stogov
d92e5968ee Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 09:08:06 +00:00
Georg Richter
a8d9958f70 merged from 5_2 (mysqli_info crash) 2007-01-06 05:50:36 +00:00
Sara Golemon
b42c175d75 Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have 2007-01-05 21:30:06 +00:00
Sara Golemon
925cbe4cfe BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX 2007-01-05 20:01:44 +00:00
Andrei Zmievski
2f3a309da1 Clean up set_include_path(). 2007-01-05 18:50:46 +00:00
Sara Golemon
851a151712 Don't bother with conversion when the converter is already UTF8 2007-01-05 17:29:30 +00:00
Hannes Magnusson
1175652bef MFB: Fix tests 2007-01-05 15:28:41 +00:00
Sebastian Bergmann
4e8661438d Fix ZTS issues. 2007-01-05 14:53:30 +00:00
Greg Beaver
94d1d69569 add unset support and test
make sure isset() does not return deleted files
do not store implicit aliases for the phar
2007-01-05 04:45:52 +00:00
Greg Beaver
8b94a6a254 add support for creating new files via array access 2007-01-05 04:27:49 +00:00
Sara Golemon
5d988bb1aa Allow ext/session to use ext/hash's algorithms for generating IDs 2007-01-05 03:57:57 +00:00
Greg Beaver
ef4749b8cf fix creation of phar from scratch, add test case 2007-01-05 03:04:56 +00:00
Sara Golemon
344cda1666 Unicode Updates 2007-01-05 02:07:59 +00:00
Greg Beaver
c7c42d9d47 add test for delete in phar, we needed to check the deleted flag in case the new phar has not been flushed to disk 2007-01-05 02:04:07 +00:00
Greg Beaver
00f516cc99 fix creation of new files within an existing phar, add test 2007-01-05 01:50:26 +00:00
Greg Beaver
68cd2941fd revert changes to test 2007-01-05 01:13:35 +00:00
Greg Beaver
10d45c7668 fixed crc - write test works 2007-01-05 01:13:13 +00:00
Ilia Alshanetsky
b21b4c01c3 MFB: Added missing open_basedir checks 2007-01-04 23:50:19 +00:00
Sara Golemon
21bac192e9 Cleanup ext/session so that I can do a unicode update without going insane. 2007-01-04 22:04:38 +00:00
Greg Beaver
fc2d773388 major reworking of how the phar is re-worked in memory when written to, fix written phar
CRC32 check fails on newly added files in phar, I can't figure out why
2007-01-04 05:32:45 +00:00
Ilia Alshanetsky
0b2e195bd8 MFB: Fixed bug #40009 (http_build_query(array()) returns NULL). 2007-01-03 23:17:17 +00:00
Nuno Lopes
22ad2f9538 MFB 2007-01-03 22:33:33 +00:00
Nuno Lopes
699351d794 fix a bug where PHP would enter in an infinite cycle with chars with ascii value > 127
while at it, remove the lim structure parameter (it wasn't being used)
2007-01-03 22:02:43 +00:00
Antony Dovgal
6dd26de0c9 more magic number fixes 2007-01-03 20:49:27 +00:00
Antony Dovgal
a323972c87 use constant 2007-01-03 20:45:17 +00:00
Nuno Lopes
5861f56dea fix PDO_DRIVER_API 2007-01-03 20:33:09 +00:00
Nuno Lopes
84f62f1133 fix lcov build 2007-01-03 20:27:49 +00:00
Hannes Magnusson
75267ee88d Revert pcrelib version string to 2006 2007-01-03 20:08:08 +00:00
Antony Dovgal
4c923b2753 revert this date to its previous state 2007-01-03 18:32:16 +00:00
Greg Beaver
801f8aaf01 add unlink support 2007-01-03 15:53:29 +00:00
Greg Beaver
d1cc13c9b2 fix all but one of the double-destroyed hashes, and all but one of the unclosed streams 2007-01-03 15:43:07 +00:00
Derick Rethans
44327b0af2 - MFB: Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 14:46:52 +00:00
Antony Dovgal
1167da966b and one more.. 2007-01-03 13:48:46 +00:00
Antony Dovgal
4a88a40537 fix test 2007-01-03 13:47:03 +00:00
Ilia Alshanetsky
b597606cfb Use proper length 2007-01-03 04:05:36 +00:00
Ilia Alshanetsky
b648434448 MFB:
Added filter callback
	Unlink temporary file on error
2007-01-03 03:55:29 +00:00
Greg Beaver
3842b6712d correctly generate version string for new phar 2007-01-02 22:57:47 +00:00
Greg Beaver
c88a692b31 add some error handling to phar creation 2007-01-02 21:21:18 +00:00
Greg Beaver
5321858746 add some error handling to phar creation 2007-01-02 21:01:44 +00:00