Moriyoshi Koizumi
df22d1016f
Fixed crash that occurs due to an abused persistent hashtable.
...
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moshe Doron
3c982dea22
oops
2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925
revert due the last string.c revert
2003-04-01 12:53:44 +00:00
Moshe Doron
31bd24860c
revert last commit for now
2003-04-01 12:46:01 +00:00
Moriyoshi Koizumi
6eaa47854e
Fixed crash in mb_convert_encoding() that occurs when a void array is
...
passed as the third parameter
2003-04-01 11:49:30 +00:00
Thies C. Arntzen
60214a0338
*** empty log message ***
2003-04-01 11:04:38 +00:00
Sascha Schumann
1879b27fc6
fix VPATH builds
2003-04-01 10:16:12 +00:00
Sascha Schumann
cc39646730
Fix segfault in register_shutdown_function
2003-04-01 10:02:29 +00:00
Sara Golemon
48c947389e
Bug #22962
2003-04-01 06:21:54 +00:00
Sebastian Bergmann
b8e3e0bfe3
Sorry Sterling, but this broke the ZTS build and I'd rather not 'ZTS fix' an April's Fool joke.
2003-04-01 05:30:32 +00:00
Sterling Hughes
53d90d8b9b
Add the landonize() and landonize_url() functions which provide a secure
...
alternative to the sha1() and sha1_file() functions.
2003-04-01 05:01:50 +00:00
Moriyoshi Koizumi
93386a8b09
oops
2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7
Fixed test; in ZE2, all the properties used in any methods are populated
...
at compile time.
2003-03-31 22:54:18 +00:00
Moriyoshi Koizumi
383808e9d3
Fixed proto to sync with the documentation
2003-03-31 20:36:46 +00:00
Moriyoshi Koizumi
4932306f94
Rearranged search order for the magic file to avoid further confusions
2003-03-31 19:48:53 +00:00
Moshe Doron
64bd1cdbd6
# make derik happy
2003-03-31 19:01:43 +00:00
Moshe Doron
dc8daad70d
fix for 22904
...
@ now addslashes() do it also on cybase magic mode(moshe).
2003-03-31 18:56:41 +00:00
Wez Furlong
16dae2eba0
Fix const warning
2003-03-31 17:58:29 +00:00
Moshe Doron
5c3a073c07
# unnecessary condition here.
2003-03-31 12:08:31 +00:00
foobar
1d3542a6bc
cleanup
2003-03-31 08:49:19 +00:00
Sascha Schumann
0481896ff7
TS issue, noticed by Sebastian Bergmann
2003-03-31 05:39:25 +00:00
Sascha Schumann
cb3c506639
Ensure that the seed function has been called, even if we are used by
...
another module's request init function.
Noticed by: marcus.boerger@t-online.de
2003-03-31 03:24:18 +00:00
Derick Rethans
07dd6f49ff
- Typo and some whitespace
2003-03-30 22:29:22 +00:00
Derick Rethans
27496361d5
- Added optional parameter to openssl_sign() to specify the hashing
...
algorithm to use. (Patch by Scott <scott@planetscott.ca>)
@- Added optional parameter to openssl_sign() to specify the hashing
@ algorithm to use. (scott@planetscott.ca , Derick)
2003-03-30 22:25:23 +00:00
Ilia Alshanetsky
feba44546c
Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()).
2003-03-30 20:48:05 +00:00
Georg Richter
e3bf2f5c9c
changed constant name
2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8
changed macro
2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f
--+_
2003-03-30 09:24:40 +00:00
Moriyoshi Koizumi
47e40e1b98
Improved var_dump() and debug_zval_dump() so they also show the
...
namespace of the given object.
2003-03-29 21:29:22 +00:00
Moriyoshi Koizumi
9e6fdcd8f6
Fixed test cases so they wouldn't be failed in case register_globals=on
2003-03-29 07:13:47 +00:00
Ilia Alshanetsky
0e73275429
CS
2003-03-28 14:31:31 +00:00
David Hill
60a7aef6e9
Changing parsedate to be reentrant using pure_parser (Dave)
2003-03-28 13:10:52 +00:00
Moriyoshi Koizumi
8bdef0dda5
Removed redundant aliases & CS fix.
2003-03-28 03:38:13 +00:00
Harald Radi
f629da9384
MFB ext/com
...
fix #22899
invoke is called twice
2003-03-27 19:56:59 +00:00
Ilia Alshanetsky
3db5278dcc
CS
2003-03-27 18:57:53 +00:00
David Hill
86569cb154
Backing out part of TZ change
2003-03-27 14:23:48 +00:00
Edin Kadribasic
688c24bcaa
MFB
2003-03-27 13:30:40 +00:00
David Hill
1fa7504fae
Changing TZ to match Unix98 standard to make Tru64 happy
2003-03-26 16:42:03 +00:00
Sebastian Bergmann
3fc852824f
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
2003-03-26 07:44:11 +00:00
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7
MFB: php_gd.dll is no longer bult and the bundled library is always used.
2003-03-25 10:30:58 +00:00
Sebastian Bergmann
5ca078779a
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
2003-03-25 08:07:13 +00:00
Edin Kadribasic
96e9337fc8
MFB
2003-03-24 21:49:46 +00:00
Moriyoshi Koizumi
570e929d49
Fixed bug #22834 (compile failure due to ugly implicit casts)
2003-03-24 21:22:23 +00:00
Moriyoshi Koizumi
03a5129429
oops...
2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a
Added test cases for new functionality
2003-03-24 19:21:20 +00:00
Moriyoshi Koizumi
93b250f923
Added koi8-r, cp866, and cp1251 support for htmlentities
2003-03-24 19:13:02 +00:00
Ilia Alshanetsky
5c159052bf
Added missing header that prevents successful compilation.
2003-03-24 15:21:53 +00:00
foobar
0b4784d951
Fixed bug #18640 properly
2003-03-24 10:18:00 +00:00
Georg Richter
e43e219e46
changed method name
2003-03-24 07:43:28 +00:00
Alex Waugh
d403ed4bc3
Fix linkage of symbols.
2003-03-23 21:58:03 +00:00
Shane Caraveo
456b6cbeab
The environment should *never* be magic quoted.
2003-03-23 19:30:31 +00:00
Wez Furlong
badd5fb6fd
Fix curl detection when multiple installations exist
2003-03-23 18:14:41 +00:00
Moriyoshi Koizumi
9c038be621
Added some compiler check
2003-03-23 01:44:58 +00:00
Moriyoshi Koizumi
0d2bd85a61
Fixed win32 build, which fails with non-SBCS-compatible locale settings.
2003-03-22 23:31:52 +00:00
Sterling Hughes
0a4282eabf
fix segfault in file_set_contents() when the file could not successfully
...
be opened.
2003-03-21 22:22:15 +00:00
Marcus Boerger
f83c88e81d
Add missing initialization
2003-03-21 18:08:59 +00:00
Sterling Hughes
ecef1df39c
This broke the xml extension, and pres2, commented out for now
2003-03-21 05:26:56 +00:00
Marcus Boerger
49adbd1ef6
missing TSRMLS_FETCH
2003-03-20 20:03:21 +00:00
Marcus Boerger
f14a65c7b9
CS
2003-03-20 19:54:22 +00:00
Christian Stocker
0cc4b081a3
fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method")
2003-03-20 09:48:19 +00:00
foobar
6638543a72
WS & CS fixes..
2003-03-20 01:27:40 +00:00
foobar
c8791084db
CS fix
2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac
WS & CS fixes
2003-03-20 01:12:57 +00:00
foobar
fb2c346be1
WS & CS fixes
2003-03-20 00:37:12 +00:00
foobar
eccecff5f9
WS & CS fixes
2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5
Better config.m4..
2003-03-19 23:52:45 +00:00
foobar
9ff622f268
And this too..
2003-03-19 23:10:27 +00:00
foobar
efe365abdc
Andrei forgot this..
2003-03-19 23:08:58 +00:00
Wez Furlong
0fd995f9fc
Add the mode string that was used to open the stream to the meta data,
...
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59
Implement persistent plain file streams.
...
Usage:
php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);
the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.
Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.
This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Jay Smith
c0d1508ec8
get_browser() needs to use zend_is_auto_global() on _SERVER.
2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94
make phpinfo() depend on executed sapi
2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772
Cleanup.
2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646
Fixed bug #22765
2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526
Avoid using FILE* where possible.
...
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Wez Furlong
267db80b21
avoid unsigned issues.
2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376
CS fixes
2003-03-18 14:35:15 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
foobar
980bac69f9
Fixed bug #22751 (Compile error in gdcache when external libgd is used)
2003-03-18 02:13:49 +00:00
foobar
6443ce1fc5
Fix the bad logic..
2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a
WS & CS fixes
2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d
WS & CS fixes
2003-03-17 14:45:07 +00:00
Hartmut Holzgraefe
3343327ea1
fixing my proto fix :|
2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
dbe4f2238c
proto fixes
2003-03-17 13:11:19 +00:00
Hartmut Holzgraefe
fa692f6744
proto fix
2003-03-17 13:08:59 +00:00
Hartmut Holzgraefe
212abb4996
proto fix
2003-03-17 13:00:13 +00:00
Hartmut Holzgraefe
6f24340f22
more proto fixes
2003-03-17 12:48:38 +00:00
Sascha Schumann
d0debaf45c
Merge macro changes
2003-03-16 23:02:19 +00:00
foobar
fcb43b70ef
WS & CS fixes + some TSRM_FETCH() removals + pval -> zval
2003-03-16 05:00:50 +00:00
foobar
d4a72592a4
- Fixed bug #22709 (crash within interbase when database unavailable)
2003-03-16 00:37:01 +00:00
Hartmut Holzgraefe
e6633a9611
lots of proto stuff
2003-03-15 22:51:49 +00:00
Wez Furlong
b66957c56a
fix proto
2003-03-15 13:29:35 +00:00
Jay Smith
830b14297f
@- Fixed bug #22386 (Using browscap causes segfault). This fix
...
@ also adds an optional bool argument to get_browser() that
@ makes the return value an array instead of an object. (jay)
2003-03-14 17:54:38 +00:00
foobar
4a244a3889
No c++ comments
2003-03-14 17:49:44 +00:00
foobar
b07507f086
No c++ comments!
2003-03-14 17:37:44 +00:00
Ilia Alshanetsky
199ae10f01
Whitespace fixes.
2003-03-14 16:56:38 +00:00
Daniela Mariaschi
1afc5a59fe
reverting to version 1.9
2003-03-14 08:27:29 +00:00
Alan Knowles
84aa3953e6
remove makefile and libs.mk from package file
2003-03-14 02:13:42 +00:00
Alan Knowles
b45ce67f95
removing files not needed so diff -u works nicely
2003-03-14 02:11:54 +00:00
Alan Knowles
65a71f4331
fix package file - note the package is called ext_soap - I suspect it will conflict with SOAP if downloaded - anyone want to comment on ideas for this...
2003-03-14 02:10:23 +00:00
Alan Knowles
0e2f675c87
fixes to enable module building
2003-03-14 02:08:30 +00:00
Alan Knowles
bd69062b14
add support for shared library building - shout stop alan - if any objections..
2003-03-14 01:58:21 +00:00
Daniela Mariaschi
ceb608fcb2
Test for libgds needs libcrypt with Firebird to succeed
2003-03-13 23:15:43 +00:00
Daniela Mariaschi
08267e4a55
Numeric/decimal datatype overflow on Win32.
...
Fixed bug #20641
2003-03-13 21:58:29 +00:00
Derick Rethans
bce69f1218
- Whitespace
2003-03-13 21:09:27 +00:00
Jay Smith
39ec83bb5f
Solaris knows nothing of "Europe/Amsterdam". Use "US/Eastern" instead.
2003-03-13 18:51:39 +00:00
Ilia Alshanetsky
cf072c4a75
Fixed bug #22681 (Crash when reading from invalid file pointer).
2003-03-13 18:15:31 +00:00
foobar
ce4bf275c9
Prevent using both --with-sybase and --with-sybase-ct in same build
2003-03-13 17:27:28 +00:00
Sara Golemon
cbf8c3e346
Bug #21534 . Silly typo.
2003-03-13 16:10:21 +00:00
Ilia Alshanetsky
d6a02110b0
Cleanup.
2003-03-13 02:22:31 +00:00
Sterling Hughes
39b8f06f9b
@ Add the file_set_contents() function, as a complement to the file_get_contents()
...
@ function. (Sterling)
2003-03-12 06:47:34 +00:00
Ilia Alshanetsky
68e36864c9
Fixed spprintf() usage.
...
Fixed compiler warnings.
2003-03-12 04:46:03 +00:00
foobar
bf90cdeff9
Added the type constants for imagegd2()
2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2
Fix bug #22646
2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
88281627bc
Style fixes.
2003-03-12 00:51:03 +00:00
foobar
9e501d4f37
- Fixed bug #20715 (odbc could not be compiled as shared extension)
2003-03-11 03:11:36 +00:00
Sascha Schumann
65b9a40640
fix sizeof(size_t) > sizeof(uint) issue
2003-03-11 02:28:46 +00:00
foobar
98b19bbe7e
Fixed bug #22616 (Wrong order of -lssl and -lcrypto with IMAP)
2003-03-11 02:11:57 +00:00
Sascha Schumann
dfb0d70b5b
reverting jani's non-sense commits
2003-03-11 01:47:06 +00:00
Georg Richter
efde6643d4
added new profiler-files
2003-03-11 01:22:20 +00:00
Georg Richter
7cf921a56f
profiler:
...
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
foobar
febb535db0
touch
2003-03-10 22:59:46 +00:00
foobar
7a1ecedf85
64bit issue fixed
2003-03-10 22:59:34 +00:00
Moriyoshi Koizumi
a41e0c1382
Modified the test to reflect the recent change on var_dump()
2003-03-10 20:46:39 +00:00
David Hill
a7b84ac7cb
Correcting int/long mismatched - 64bit issues.
2003-03-10 20:30:33 +00:00
Ilia Alshanetsky
822b53b95a
Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
...
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
David Hill
4f8ae7b111
fixing missed int to long with zend_parse_parameters
2003-03-10 15:52:10 +00:00
Andrei Zmievski
b1546a1775
Print the object handle (it's useful).
2003-03-10 15:13:32 +00:00
David Hill
1edf7f55e5
64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
2003-03-10 14:50:16 +00:00
foobar
a7d8bc6894
cs & ws fixes
2003-03-10 02:14:09 +00:00
Sara Golemon
c4a491e12c
Adjustment to user filters reimplementation. Make a bucket an object containing a resource(the real bucket) and a data element for direct operations. Simplifies
...
user interface and reduces number of function calls/reallocs needed.
2003-03-09 23:12:31 +00:00
Derick Rethans
0d603b2d9a
- Fix proto
2003-03-09 00:05:48 +00:00
Georg Richter
15f648c8f9
various changes for profiler
2003-03-08 23:33:12 +00:00
Derick Rethans
1b9ee1a8ea
- Fixed a bug in GD's truecolor TTF handling
2003-03-08 18:27:12 +00:00
Stefan Esser
1f54605723
wrong place.
2003-03-08 14:51:16 +00:00
Stefan Esser
76c427fd05
fixing memory leak
2003-03-08 14:37:01 +00:00
Ilia Alshanetsky
20c2c39f3c
Fixed bug #22585 (Do not terminate the script on minor errors).
2003-03-07 14:03:53 +00:00
foobar
3c9155e0cb
Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
...
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
e32eaf29de
Fixed typo caught by Dave.
2003-03-07 04:32:36 +00:00
foobar
1b38773eef
WS & CS fixes
2003-03-07 01:03:04 +00:00
foobar
2da432cc19
WS & CS fixes
2003-03-07 00:52:04 +00:00
foobar
8d6c858aba
WS & CS fixes
2003-03-07 00:40:54 +00:00
David Hill
5c90216d2c
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Stefan Esser
af4aa97d1e
Fixing functionicalls with variable number of parameters...
2003-03-06 20:31:20 +00:00
Moriyoshi Koizumi
9bdc86973b
Fixed a small leak in the convert filter code
2003-03-05 17:51:33 +00:00
Ilia Alshanetsky
4f4f0a9771
Added test case for bug #22544 .
2003-03-05 16:19:08 +00:00
Ilia Alshanetsky
d31fa3da61
Better identification of bundled GD library.
2003-03-05 16:08:01 +00:00
Ilia Alshanetsky
fd088722a7
Fixed bug #22544 (missing fix from official gd).
2003-03-05 15:57:28 +00:00
Wez Furlong
b68739f7f9
- Remove legacy non-streams code (as discussed with Brad).
...
- Make get_http_header_value() work using case-insensitive compares
for the header names, as per relevant RFC's.
- General performance boost for get_http_headers().
- Fix a crash bug when a malformed URL is passed to the soap client.
- Implement https:// support in the the soap client. (does not verify
the remote server certificate; it provides an encrypted link only).
- Provide a hook for libxml to parse files using any registered PHP
wrapper, including https://, ftps:// and any user-space streams.
2003-03-05 14:23:56 +00:00
Corne' Cornelius
5ab857c8b9
- Reverted emalloc(),efree() changed for persistant connection resources
2003-03-05 13:17:00 +00:00
Corne' Cornelius
e25dabc747
- Changed malloc() and free() to emalloc() and efree()
2003-03-05 09:38:00 +00:00
Moriyoshi Koizumi
d2eb897739
Added missing phpinfo entry (Russian support)
2003-03-05 06:16:22 +00:00
Marcus Boerger
f5a7a1c094
Use stream locking support
...
# needs more testing
2003-03-04 23:45:48 +00:00
Wez Furlong
8e5aaa0e7c
Miscellaneous compilation warning, coding standards, build related,
...
memory leak and segfault related fixes.
The simple soap client/server code examples now run without leaking or
segfaulting.
2003-03-04 23:01:24 +00:00
Marcus Boerger
cf7101d354
Support all possible configurations and simplify includes
2003-03-04 20:31:42 +00:00
Marcus Boerger
238abf8c7f
fix dba by fixing key_len retrieval
2003-03-04 19:56:35 +00:00
foobar
5546f1e259
typofix
2003-03-04 18:59:16 +00:00
Moriyoshi Koizumi
aa40a02de8
64bit long fix
2003-03-04 17:18:40 +00:00
Moriyoshi Koizumi
3940c673e3
64bit long fix: patch by Dave Hill
2003-03-04 17:10:29 +00:00
Ilia Alshanetsky
c5053e0f62
Fixed bug #22437 .
2003-03-04 16:34:52 +00:00
Ilia Alshanetsky
53530765ff
Added support for http redirects to ftp.
...
Fixed bug #22508 (Added protection against circular HTML redirects).
2003-03-04 16:04:05 +00:00
Ilia Alshanetsky
b162e18a29
Skip test if running under safe-mode.
2003-03-04 14:37:38 +00:00
Christian Stocker
6804378398
MFB (make it really W3C compatible (unlink node, when in tree...))
2003-03-04 13:38:38 +00:00
Edin Kadribasic
d1feae01d9
Credits update.
2003-03-04 00:10:11 +00:00
Georg Richter
338ec7b859
fixed bug in macro-definition
2003-03-03 22:50:56 +00:00
Georg Richter
359d21aa54
disabled output of errormessages
2003-03-03 22:50:34 +00:00
Georg Richter
281960ee78
added profiler support
2003-03-03 22:36:47 +00:00
Edin Kadribasic
6c20fa725e
MFB: Enabled mcrypt_generic_deinit() on windows ( #22520 )
2003-03-03 21:25:25 +00:00
foobar
826d9ace59
typofix
2003-03-02 18:52:29 +00:00
foobar
6290b1c2cb
Special case for MacosX..
2003-03-02 18:50:45 +00:00
foobar
96f6d1fdbd
Fixed bug #22485 (hardcoded shared lib extensions)
2003-03-02 18:47:35 +00:00
Zeev Suraski
622da33231
- Optimize $_REQUEST
...
- Fix phpinfo()
2003-03-02 13:35:01 +00:00
Wez Furlong
6fed2e95b2
Fix build for activescript sapi
2003-03-02 13:09:48 +00:00
Zeev Suraski
4e55747a2b
Add JIT initialization for _SERVER and _ENV
...
(it's less important for the others, even though it should be fairly
easy now too)
2003-03-02 10:19:15 +00:00
Moriyoshi Koizumi
da0d5a11ed
Fixed my silly mistake in the filter code
2003-03-02 08:39:01 +00:00
Wez Furlong
c6e40696e1
Fix two crash bugs when optional parameters are not specified.
...
Fix folding markers.
2003-03-01 15:40:06 +00:00
Pierre Joye
31509f124f
update credits (ilia,myself)
2003-03-01 01:28:10 +00:00
Wez Furlong
558db0d87a
Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
...
performance alternative to looping reads and writes.
2003-03-01 01:27:50 +00:00
Wez Furlong
349ce76f96
Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.
2003-02-28 21:03:36 +00:00
Wez Furlong
68c1294462
Add this file...
2003-02-28 20:06:05 +00:00
Wez Furlong
1b53a2d12e
New user-space functions:
...
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept a client connection.
. stream_socket_get_name() - Get local or remote name of socket.
Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Ilia Alshanetsky
14bf872003
Fixed compiler warnings.
2003-02-28 17:26:28 +00:00
Hartmut Holzgraefe
050e86fde4
it is still to early in the morning for coding :(
2003-02-28 07:57:00 +00:00
Hartmut Holzgraefe
80d267e271
make sure that GNU extensions exist for fnmatch()
2003-02-28 07:52:23 +00:00
foobar
535a73a71e
- Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
...
(Phil Oleson <poleson@verio.net>)
2003-02-28 07:34:45 +00:00
foobar
08b5f6b2b9
- No need to include the ssl headers elsewhere but in ext/openssl
...
# ext/ftp doesn't use streams yet so it needs to include them.
2003-02-28 07:25:15 +00:00
foobar
282512abea
YAZ 2.0 or later is required now.
2003-02-28 07:17:47 +00:00
foobar
95d756f467
ws & CS
2003-02-28 06:33:04 +00:00
Ilia Alshanetsky
912bef379d
Fixed compiler warning.
2003-02-27 23:53:55 +00:00
Ilia Alshanetsky
57eabeea29
fixed compiler warnings.
2003-02-27 23:50:55 +00:00
Wez Furlong
0cec0bd8a9
streams.c -> streamsfuncs.c
...
# argh!
2003-02-27 22:48:13 +00:00
Wez Furlong
493ef36299
Update win32 build.
...
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c
2003-02-27 22:43:51 +00:00
Wez Furlong
5def83df0b
Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
...
Move win32 select implementation into win32/.
Will update win32 build in a moment.
2003-02-27 22:23:39 +00:00
Ilia Alshanetsky
ea1f34e892
Fixed a bug that would cause filetype() to return "unknown" for
...
non-existent files on Win32.
2003-02-27 20:38:00 +00:00
Wez Furlong
cfd8150b30
Add a generic meta data api for streams.
2003-02-27 19:10:24 +00:00
Wez Furlong
76ebaa6ee7
- Move https:// and ftps:// wrapper registration into the openssl module.
...
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables
2003-02-27 18:16:35 +00:00
Wez Furlong
fd61f69077
Another big commit (tm).
...
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).
Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.
Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.
# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
Ilia Alshanetsky
560e33968d
Fixed bug #21410 (fixed handling of NULL or "" files on Win32)
2003-02-27 16:41:23 +00:00
Hartmut Holzgraefe
52ca521b40
changed from strncpy to strlcpy on request
2003-02-27 10:21:32 +00:00