Commit Graph

17720 Commits

Author SHA1 Message Date
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
Edin Kadribasic
95314707ca Added two new targets to the ldap win32 build which enable ldap
extension to be linked with ssl version of openldap libs.
2002-11-05 14:19:22 +00:00
Edin Kadribasic
ce2b880a53 Fixed win32 build by including missing stddef.h 2002-11-05 14:18:20 +00:00
Moriyoshi Koizumi
bef514afda style fix 2002-11-05 13:52:11 +00:00
Edin Kadribasic
608d4ded77 Moving php/embed windows build files to sapi/embed folder. 2002-11-05 13:12:27 +00:00
Andrey Hristov
69283998ae correcting typos. 2002-11-05 12:32:11 +00:00
Marcus Boerger
30e916d5cd added missing compiler define 2002-11-05 12:03:01 +00:00
Marcus Boerger
2db35e91ea no memory no members 2002-11-05 11:22:48 +00:00
Marcus Boerger
3bfb7162a8 silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?
2002-11-05 11:17:45 +00:00
Edin Kadribasic
9276b276f7 Made php -v output look nicer on standard 80 column display. 2002-11-05 11:13:35 +00:00
Marcus Boerger
8f6120fef4 correct define: silences compiler warning in http_fopen_wrapper.c 2002-11-05 11:10:06 +00:00
Marcus Boerger
210c6e75f2 Use EXPECT again 2002-11-05 09:52:30 +00:00
Marcus Boerger
bc9757f07a Comment out part 3 for now
Added Part 4
2002-11-05 09:51:09 +00:00
Adam Dickmeiss
752f0b0abf Fix handling of zero-length records 2002-11-05 09:19:24 +00:00
Timm Friebe
2bcca9e315 #- Added myself here 2002-11-05 08:30:57 +00:00
Timm Friebe
514b69824e @- Implemented features/changes requested in Bug #16960 (Timm):
@  . Added a new function sybase_unbuffered_query()
@  . Added a new function sybase_fetch_assoc()
@  . Added sybase_set_message_handler() which enables users to handle
@    server messages in a callback function
@  . Added an ini entry for deadlock retries - retrying deadlocks
@    can cause transaction state to break (sybct.deadlock_retry_count,
@    defaults to -1 "forever").
@  . Fixed sybase_fetch_object() not to return objects with numeric
@    members
@  . Fixed issues with identical fieldnames
@  . Made sybase_fetch_*() functions return correct datatypes
@  . Made phpinfo() section more verbose
@  . Made sybase_query() error messages more verbose
2002-11-05 08:29:57 +00:00
Stig Bakken
b899f9bf63 Fixed some special cases that were crashing for the exception default
handler.
2002-11-05 06:10:05 +00:00
Stig Bakken
efeaa5917c Added separate functions for setting include_path, for environments
where ini_set has been disabled.  New functions: get_include_path(),
set_include_path(), restore_include_path()
2002-11-05 06:05:48 +00:00