Ilia Alshanetsky
6e06948c19
Removed duplicate assignment.
2002-11-08 01:08:01 +00:00
Marcus Boerger
95018fc5c0
-lock support moved from dba_flatfile.c to dba.c
...
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access to a database file.
#locking uses flock() which will be emulated or warned if that is not eally
#possible in ext/standard/flock_compat.c
2002-11-08 01:03:53 +00:00
Stig Bakken
28c2fb6681
* fix path prepends
2002-11-08 00:19:21 +00:00
Marcus Boerger
1a4c1eb8a9
not needed anywhere here
2002-11-07 23:09:41 +00:00
Marcus Boerger
78857eb9d4
expand test: see if another insert fails
2002-11-07 23:03:58 +00:00
Marcus Boerger
39876b881b
-rename anything to flatfile_xxx/FLATFILE_xxx
...
-fix update function
-add warnings for update function
2002-11-07 23:03:16 +00:00
Brian France
3902b068c3
Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD
...
If the xml extension was built shared with a shared libexpat
it would not get the required link to libexpat.so.
2002-11-07 19:31:08 +00:00
Wez Furlong
be769483d5
Really disable curlwrappers configure option.
2002-11-07 18:07:03 +00:00
Ilia Alshanetsky
7db2ebd8ea
This makes the output of the tests consistent on 32bit and 64 bit platforms.
...
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00
Ilia Alshanetsky
ada01d75e0
Added swf info.
2002-11-07 16:42:32 +00:00
Ilia Alshanetsky
bd41e0503d
Added swf and swc (compressed swf) test cases and added 'bits' portion to
...
the expected bmp test results.
2002-11-07 16:38:57 +00:00
Ilia Alshanetsky
15fb290edc
Fixed a crash in image_type_to_mime_type(), when a non integer value is
...
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
2002-11-07 16:37:46 +00:00
Ilia Alshanetsky
c2337fd851
Added additional tests to parse_url() test suit, corrected the output of 2
...
existing tests, which were affected by a bug fixed in latest update to
parse_url() source code.
2002-11-07 15:46:34 +00:00
Ilia Alshanetsky
8645f5c200
parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
...
simular. Thanks to Wez Furlong for noticing the problem.
2002-11-07 15:41:32 +00:00
Andrei Zmievski
1552ba9644
Fix.
2002-11-07 15:09:11 +00:00
Wez Furlong
c2a4f94147
WS
2002-11-07 14:52:02 +00:00
Wez Furlong
7d4bf32ca2
Make this static also.
2002-11-07 14:46:40 +00:00
Wez Furlong
8180b9e9c7
Make this static
2002-11-07 14:42:20 +00:00
Marcus Boerger
2a2a41b5f2
add test to see if insert fails when key already exists
2002-11-07 14:18:42 +00:00
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