Commit Graph

18244 Commits

Author SHA1 Message Date
Marcus Boerger
927033c616 remove debug output and use php_error_docref instead 2002-11-07 13:00:37 +00:00
Sascha Schumann
8d25447f30 let this source file compile with php 4.2.x 2002-11-07 11:56:02 +00:00
Sascha Schumann
6442b86bfa bumb api version because of module_startup change 2002-11-07 11:52:45 +00:00
Sascha Schumann
eb0141913c Add two missing entries 2002-11-07 11:38:03 +00:00
Ilia Alshanetsky
b801568bbb Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
2002-11-07 00:23:58 +00:00
Sebastian Bergmann
bab84eab34 Fix ZTS build. 2002-11-06 18:51:44 +00:00
Ilia Alshanetsky
78e2e69b23 Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
2002-11-06 18:07:23 +00:00
Sascha Schumann
3037b35b31 emalloc never returns 0, so we can simplify the code paths.
also replace ecalloc with emalloc+memset, so that the latter can be inlined.
2002-11-06 17:59:03 +00:00
Sascha Schumann
10a861f93c - use TCP_DEFER_ACCEPT
- don't timeout connections which are managed by IRCG
- don't generate invalid HTTP replies, if the client did not send a
  request line yet
2002-11-06 17:31:03 +00:00
Moriyoshi Koizumi
5c7b062d6f Cosmetics 2002-11-06 16:58:08 +00:00
Moriyoshi Koizumi
c22c2e4772 Added a test case to check the behaviour on failure 2002-11-06 16:57:53 +00:00
Marcus Boerger
85d09b872d added missing magic_quotes_runtime=0 2002-11-06 16:56:44 +00:00
Moriyoshi Koizumi
0228d5bdcb Clean up 2002-11-06 16:54:18 +00:00
Moriyoshi Koizumi
cac70c5523 Stricter SKIPIF conditions 2002-11-06 16:37:10 +00:00
Moriyoshi Koizumi
49f15ab314 Fixed segfaults in case the specified encoding is not acceptable to iconv. 2002-11-06 16:29:16 +00:00
Moriyoshi Koizumi
6789057697 Oops, preg_match() returns integer value, not boolean. 2002-11-06 15:14:58 +00:00
Stanislav Malyshev
41bd9b3746 fix zend_assign_to_object_op 2002-11-06 15:11:45 +00:00
Moriyoshi Koizumi
e4460fa5a3 Made skip conditions stricter. 2002-11-06 15:06:35 +00:00
Marcus Boerger
b5d223adfa -convert from dos to unix file 2002-11-06 12:01:37 +00:00
Marcus Boerger
caa194d47e -convert from dos to unix file
-disallow cdb_make
2002-11-06 11:59:14 +00:00
Marcus Boerger
c7b7cf17c2 check whether a written databse can be appended and if read during write
is permitted
#i use ksort for the result here since some dbm libraries sort their result
#but that is nothing to test here.
2002-11-06 11:18:00 +00:00
Marcus Boerger
7fb5e192fb fix locks and reading
#i will extend the tests to guard on such failures
2002-11-06 10:43:41 +00:00
Wez Furlong
ec955b07bb Disable --with-curlwrappers.
(Pending support from libcurl itself)
2002-11-06 10:24:48 +00:00
Marcus Boerger
678829add6 There shall never be an external library for this (hopefully). 2002-11-06 10:08:38 +00:00
Marcus Boerger
88af7e9897 Use the the name 'flatfile' correctly so the handler support can be built now.
#I do not like the lock solution since a crashed php would leave the *lck
#file locked now.
2002-11-06 09:17:51 +00:00
Marcus Boerger
4be50925ad move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.
2002-11-06 04:16:18 +00:00
Marcus Boerger
5d9563df56 correct file open modes 2002-11-06 02:21:49 +00:00
Marcus Boerger
8135094b7d add fprintf replacement: tested, working, used 2002-11-06 01:56:51 +00:00
Marcus Boerger
31b6a5cebf #add myself 2002-11-06 01:53:50 +00:00
Marcus Boerger
f0acf84dc7 Incorporate rewritten version of dbm from db extension.
# currently locks are missing :-(
2002-11-06 01:47:06 +00:00
Marcus Boerger
a73e74c2f8 Make the macro use the function and not the other macro as discussed
with Wez.
2002-11-06 00:17:44 +00:00
Marcus Boerger
1f0b200188 php_stream replacement for fprintf
#Agreed by Wez - I will use this mysel soon.
2002-11-06 00:15:24 +00:00
Ilia Alshanetsky
64f77577f0 Fixed bug #20035. ZE now allows us to pass the current line position by
setting zend_lineno to (current_line * -1).
2002-11-05 22:04:12 +00:00
Ilia Alshanetsky
78bf1d9a56 MFZE1 2002-11-05 22:01:35 +00:00
Andi Gutmans
6f9bfe5cca - Shift around zend_op members 2002-11-05 21:35:05 +00:00
Ilia Alshanetsky
89d4cd1d6b Fixed compile warning, removed unused variables and added process.h header,
which is needed on Windows for getpid() function.
2002-11-05 19:57:04 +00:00
Andi Gutmans
867519c420 - A couple of updates 2002-11-05 19:55:00 +00:00
Marcus Boerger
b3ab4ece8d correct errors 2002-11-05 19:38:06 +00:00
Andi Gutmans
c497868005 - Add support for static methods. Basically methods which are defined as
- static don't have $this. That's the whole difference.
2002-11-05 19:37:31 +00:00
Andi Gutmans
f40e3b8548 - $clone -> $that 2002-11-05 19:29:46 +00:00
Andi Gutmans
c92758c89e - Fix bug introduced with type change of free_op1/2 2002-11-05 19:06:40 +00:00
Andi Gutmans
1f42a2b88f - Arghh... Change #ifdef to #ifndef 2002-11-05 19:02:37 +00:00
Andi Gutmans
a0ed2ef379 - Fix Engine 2 build 2002-11-05 19:01:36 +00:00
Andi Gutmans
983be5c73c - ATTENTION: Finally nuke old_function and cfunction. I think it is time
- to get rid of these BC notations. This is from the days of the move from
- PHP/FI 2 -> PHP 3
2002-11-05 18:25:09 +00:00
Ilia Alshanetsky
c6d60713cb Revert of previous patch. 2002-11-05 18:22:02 +00:00
Andi Gutmans
f7f9721bdb - Change the automatically created variable $clone in __clone() to
- $that as discussed at the PHP Conference. If there are any objections
- alternative names please let me know. The reason for changing it from
- $clone is because $clone sounds as if it's the newly cloned object and
- not the old one.
2002-11-05 18:16:11 +00:00
Moriyoshi Koizumi
307024dc68 Fixed typo 2002-11-05 17:46:36 +00:00
Andi Gutmans
bdc5bb5739 - Fix TSRM_ERROR macro 2002-11-05 17:34:47 +00:00
Moriyoshi Koizumi
e2112f174a Added a test for bug #20261 2002-11-05 17:25:59 +00:00
Stanislav Malyshev
3a9eeea213 avoid using 'class' in exported functions - it annoys c++ 2002-11-05 17:21:23 +00:00