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
Ilia Alshanetsky
6d57337cda
Fixed a memory leak in array_fill().
...
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
2002-11-05 16:19:19 +00:00
Marcus Boerger
64d3e88266
call php_module_startup after zts has been initialised. This way we could
...
have called zend_ini_deactivate(TSRMLS_C). But it seems unnecessary.
#tested with ZTS and non ZTS build and many manual fail points.
#now it even compiles without any warning, at least for me
2002-11-05 15:15:51 +00:00
Marcus Boerger
77858f7fcd
-use of emalloc functions
...
-info was not initialised fulle due to memset parameters
now that the whole structure is initialised we can stop putting 0 in it.
2002-11-05 15:01:20 +00:00
Edin Kadribasic
7336ede58f
Ignore all temporary target directories created by the windows build.
2002-11-05 14:55:08 +00:00
Ilia Alshanetsky
cfe0c82034
Added 4th argument to virtual_file_ex() that specifies whether or not
...
realpath() should be used during path resolving. In a number of functions
we do not want to use realpath(), since realpath() will resolve symlinks.
2002-11-05 14:50:17 +00:00
Marcus Boerger
177b24a44e
Why did open fail?
2002-11-05 14:46:36 +00:00
Ilia Alshanetsky
41a77bccba
Fix compile warning.
2002-11-05 14:28:32 +00:00