Edin Kadribasic
2e317ff727
No need to link libxm2 in order to build php_crack.lib
2002-05-09 15:58:19 +00:00
Derick Rethans
f58ad95c00
- Add PHP_API_VERSION too
2002-05-09 11:56:52 +00:00
Derick Rethans
7b3ce60a23
- Show both API nos
2002-05-09 11:47:37 +00:00
Jason Greene
cfb285a391
Fix overflow
2002-05-08 15:30:04 +00:00
Rui Hirokawa
f30b722f14
Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
2002-05-08 12:33:44 +00:00
Zak Greant
4128739695
Minor improvement to error message for mysql_data_seek
2002-05-08 07:38:09 +00:00
Derick Rethans
31d1fac578
- Forgot one
2002-05-08 05:19:27 +00:00
Frank M. Kromann
c75e794ebe
Kill a compiler warning on Win32
2002-05-08 03:56:43 +00:00
Jason Greene
d4b11fb33f
Fix 10830, and 17074
...
FreeBSD requires the exact length of the socket type
2002-05-07 18:47:17 +00:00
Jason Greene
f30fefcb30
Fix invalid warning caused by bogus convert_to_* calls
...
Fix possible invalid data in status for pcntl_waitpid()
2002-05-06 23:01:46 +00:00
Jason Greene
4c9dbf9335
Fix type-o that broke ZTS build
...
Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored
2002-05-06 19:48:39 +00:00
jim winstead
51e2ea5ed2
fix problem with mkdir() on freebsd
2002-05-06 17:31:22 +00:00
Wez Furlong
a03d09e2d9
Add support for remaining entities in HTML 4 for the UTF-8 encoding in
...
htmlentities/htmlspecial chars.
This is a fix for for #17008 .
# I would *really* appreciate it if someone with a good eye could verify
# that all the entities are there and are correctly numbered; I've checked
# it three times, but it's best to be sure.
2002-05-05 23:06:39 +00:00
Stanislav Malyshev
b67bafefa5
Return right exit status
2002-05-05 17:14:12 +00:00
Thies C. Arntzen
5d177788ea
touch
2002-05-05 16:40:20 +00:00
Thies C. Arntzen
23251ebd1a
re-add accidentily nuked session_adapt_url()
2002-05-05 16:39:49 +00:00
Rui Hirokawa
b7321edb84
bug fixed in unicode -> cp1252 table.
2002-05-05 11:42:18 +00:00
Rui Hirokawa
39c951ed88
added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win.
2002-05-05 02:22:36 +00:00
Sascha Schumann
67d00f8c1d
sync
2002-05-05 02:07:33 +00:00
Sascha Schumann
c8f884fac8
the output buffer is flushed during request shutdown before it
...
reaches our rshutdown, so it is safe to delete the contents of
the url rewriter variables here.
2002-05-05 02:07:16 +00:00
Sascha Schumann
d41773e8b6
update
2002-05-04 18:34:29 +00:00
Sascha Schumann
9743860d35
simplify handling of variables by maintaining two strings which
...
are simply appended instead of traversing the hash table on each
URL/form.
also fix an unconditional segfault in rshutdown due to efree'ing
a static char *.
remove remove_var, add reset_vars. move the function declarations
into the right header file.
2002-05-04 18:33:13 +00:00
Sascha Schumann
ebfff2df7e
ret set but unused
2002-05-04 18:11:36 +00:00
Sascha Schumann
74b09cbcf8
c set but unused
2002-05-04 17:41:51 +00:00
Sascha Schumann
34b899e2da
inheader set but unused
2002-05-04 17:41:11 +00:00
Sascha Schumann
ea84524bc2
block_ended/opposite_target were set but never used
2002-05-04 17:38:45 +00:00
Sascha Schumann
a6c3ce15ae
don't emit code for version
2002-05-04 17:36:58 +00:00
Sascha Schumann
1f09644ff7
Fix linkage of symbols
2002-05-04 17:26:45 +00:00
Sascha Schumann
9e91566179
entry_length was set but never used
2002-05-04 17:24:08 +00:00
Sascha Schumann
01c980980c
update
2002-05-04 17:17:54 +00:00
Sascha Schumann
2438488c68
rval_temp was declared but never used
2002-05-04 17:17:43 +00:00
Sascha Schumann
140158734f
redirected is set but never used
2002-05-04 17:16:28 +00:00
Sascha Schumann
62c54fca9f
include url.h
2002-05-04 17:15:09 +00:00
Sascha Schumann
2a4dea6c18
include url.h to pull in declaration of php_url_encode
2002-05-04 17:14:56 +00:00
Sascha Schumann
4378214b80
Make this code work on compilers which don't consider the address
...
of a variable on the stack available at compile time.
2002-05-04 17:12:26 +00:00
Sascha Schumann
e919e7e526
unused var
2002-05-04 16:59:41 +00:00
Sascha Schumann
3fbbd61dc2
p is set, but never used.
2002-05-04 16:54:13 +00:00
Sascha Schumann
ee70764592
Turn misplaced PHP_ARG_WITH into _ENABLE
...
and fix --enable-mbstring=shared
2002-05-04 16:50:10 +00:00
Sascha Schumann
9517ff0689
Fix --enable-session=shared
2002-05-04 16:48:48 +00:00
Sascha Schumann
3c89ce7843
Fix --enable-xml=shared
2002-05-04 16:48:01 +00:00
Stig Venaas
d47d8b99c5
Reworked result resource handling so that result is not freed until all
...
its result entry resources are freed
@- Fixed resource bug in LDAP extension. (Stig Venaas)
2002-05-04 14:27:48 +00:00
Rui Hirokawa
fa1904b6e8
fixed a problem that ereg_replace() couldn't match with line stand/end marker.
2002-05-04 11:20:12 +00:00
Christian Stocker
d5c7421a7c
removed the function for domxml_node_add_child and made an alias to
...
domxml_node_append_child for BC
2002-05-03 13:53:46 +00:00
Christian Stocker
e7f7fb1781
WS fixes
2002-05-03 09:51:06 +00:00
Christian Stocker
9c37ea1888
one parameter too much
2002-05-03 09:46:27 +00:00
Christian Stocker
67c5b2e4fd
added encoding support for domxml_dump_mem()
2002-05-03 09:45:09 +00:00
Thies C. Arntzen
023a381323
forgot
2002-05-03 08:32:03 +00:00
Sebastian Bergmann
8193ca7891
Fix ZTS build.
2002-05-03 08:10:43 +00:00
Thies C. Arntzen
9712a4b3c8
@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
...
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more
2002-05-03 08:00:41 +00:00
Frank M. Kromann
810c9dd963
Changed & to &&.
2002-05-02 17:54:54 +00:00
Frank M. Kromann
e789e72515
Adding missing files to the project
2002-05-02 17:53:42 +00:00
Frank M. Kromann
bd75b407cf
Fixing wrong pointer
2002-05-02 17:36:00 +00:00
Jason Greene
89c59569ba
socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes
2002-05-02 16:45:22 +00:00
Harald Radi
fe84a29b3f
remove temporary resources immediately
...
return value fix
#thanks to alan for 'remote debugging'
2002-05-02 13:37:31 +00:00
Derick Rethans
0c16e026b0
- Add Zend API No. to phpinofo() output
2002-05-02 12:33:03 +00:00
foobar
399914da92
Stop the search when the libs are found.
2002-05-02 10:22:26 +00:00
Yasuo Ohgaki
43df0c78c0
Move Content-Length: header handling from zlib.c to output.c
...
When output buffer is enabled and header can be sent, Content-Length:
header is added always from now on.
2002-05-02 01:12:01 +00:00
Derick Rethans
8fe3c0c5d4
- Fix String is not zero-terminated error in base64_decode
2002-05-01 20:11:09 +00:00
Markus Fischer
07efbff856
- Update protos for socket_read() and socket_write().
...
- Set last_error in socket_write().
2002-05-01 16:38:22 +00:00
Markus Fischer
ae5bc7c0f6
- Update protos for getpeer/getsock-name.
2002-05-01 16:08:50 +00:00
Jason Greene
38a6325178
Fix BYREF_FORCE that was not being read
...
Fix error message
2002-05-01 15:14:49 +00:00
Markus Fischer
1a5501ddfd
- Rename setopt and getopt to set_option and get_option, provide alias.
2002-05-01 11:08:08 +00:00
Markus Fischer
a2fbdad20e
- Fix couple of problems with socket_create_pair():
...
- Force fourth argument to be passed by reference
- Since the argument is modified there is no need to force it to be an array
since it's destroyed anyway
- Only modify the argument if socketpair() was successfully
- Fix string modified for error message message
- Set global last_error when socketpair() fails
2002-05-01 10:41:10 +00:00
Markus Fischer
7ee9e9d9e5
- Add SOMAXCONN constant.
2002-05-01 09:25:26 +00:00
Wez Furlong
3a68052828
Fix for #16885
2002-05-01 08:22:17 +00:00
Wez Furlong
f571438d7a
Probable fix for #16940 .
2002-05-01 07:50:13 +00:00
Markus Fischer
cc4ff9c3ac
- WS fixes
2002-05-01 07:35:01 +00:00
Jason Greene
9a841d116b
Changed socket_select to force reference copy, the older code would modify all references
...
@Fixed a bug in socket_select() that could cause unexpected behavior when using a statement
@ like $w=$e=array($sock);
@This change unfortunately prevents the use of constant values(NULL) for the socket array paramaters.
@Instead use a temporary variable or an expression with the leftmost member being a temporary variable.
@ ex. socket_select($w, $r, $e=NULL, 10);
Also fix small memory leak.
2002-05-01 04:46:59 +00:00
Harald Radi
6055c2b11a
ZE2 compatibility fixes
2002-04-30 23:34:09 +00:00
Markus Fischer
a369d06bea
- Forgot to update proto
2002-04-30 22:03:51 +00:00
Markus Fischer
c1c1ee9f6e
- Allow resetting the module global last_error too.
2002-04-30 22:01:06 +00:00
Sebastian Bergmann
92748918c5
More unused variables.
2002-04-30 15:21:04 +00:00
Stanislav Malyshev
f42bb6cfe4
Fix ZE1 build
2002-04-30 14:45:50 +00:00
Sebastian Bergmann
28e1120978
Fix ZTS build. Remove unused variables.
2002-04-30 14:36:43 +00:00
Sascha Schumann
6f57419453
Touch file
2002-04-30 13:47:16 +00:00
Dan Kalowsky
d55c9134c8
reverting the cursor change as it seems to break many ODBC drivers.
2002-04-30 13:17:48 +00:00
Rui Hirokawa
813a795c64
fixed compile warning with Visual C++.
2002-04-30 12:45:14 +00:00
Rui Hirokawa
5df01432c7
added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental.
2002-04-30 12:00:42 +00:00
Stanislav Malyshev
18805e8323
ZE2 compatibility fix
2002-04-30 11:30:07 +00:00
Stanislav Malyshev
3dd6217c0b
ZE2 compatibility fixes
2002-04-30 11:29:28 +00:00
foobar
3b1ae7c62a
revert last bogus change. There is bug in is_file()
2002-04-30 10:38:06 +00:00
Uwe Steinmann
3858221c2f
- added function domxml_parser_set_keep_blanks()
2002-04-30 05:18:12 +00:00
Frank M. Kromann
eeb4fd9b45
Adding missing files to project
2002-04-30 04:36:34 +00:00
Sebastian Bergmann
eacad68c68
Fix ZTS build.
2002-04-30 04:27:52 +00:00
Wez Furlong
2d88266965
Use ftok for message queue key.
2002-04-30 00:58:52 +00:00
Wez Furlong
501ed6ccb2
Make use of new flag so that we can buffer http headers when we know that
...
the stream is not intended to be used in require/include.
2002-04-30 00:30:00 +00:00
Wez Furlong
760573695c
Implement user-space funtions to operate on stream contexts.
2002-04-30 00:28:24 +00:00
Wez Furlong
840ed90f2b
Fix is_file test.
...
# Is there a good reason for having the actual test in an include file??
2002-04-30 00:26:49 +00:00
foobar
94f9b3bdb5
Never add libraries without checking that they exist and can be linked.
2002-04-29 18:08:20 +00:00
Harald Radi
e72caee650
RETURN_NULL() is defined with braces while RETURN_TRUE
...
and RETURN_FALSE are defined without.
seems not very consistent ?
2002-04-29 17:20:15 +00:00
Stanislav Malyshev
11df2122df
Add comments for the fix
2002-04-29 16:02:41 +00:00
Stanislav Malyshev
91a78e2974
Fix here too
2002-04-29 16:02:10 +00:00
Harald Radi
667a0841f3
functions returned FALSE in case of error and the oo api returned NULL.
...
make them both behave equal (return NULL, as FALSE can be a valid value).
2002-04-29 15:50:30 +00:00
Stanislav Malyshev
aa10ac9a64
Yet another serialization fix - for incomplete class
2002-04-29 15:44:30 +00:00
foobar
d066ed7c0e
Make it possible to use recode 3.5 too. (happy now Wez? :)
2002-04-29 15:40:16 +00:00
Markus Fischer
8cf30c79ff
- Fix WS and CS a bit
2002-04-29 15:06:48 +00:00
Markus Fischer
c970490d28
- Store last errno in the module global 'last_error' implicitely
...
- Set the global 'last_error' explicitely for functions which can't return an
error withing a single socket context (socket_create and socket_select)
- Modified socket_last_error() to return global modules last
error if no socket resource is given
- Added a couple of more E_WARNING messages in case something
goes foobar so the user isn't left alone in the dark.
2002-04-29 14:52:29 +00:00
Wez Furlong
ab69b0c6ec
Slightly alter the signature of msg_send and msg_receive so that error
...
codes and serialized "false" messages can be distinguished.
2002-04-29 12:52:34 +00:00
Rui Hirokawa
2f52cbbb7c
shlib suffix was not defind and rint() was not found without -lm.
2002-04-29 02:55:55 +00:00
Sascha Schumann
71124226d5
Touch generated file
...
# is it really so hard to remember this?
2002-04-28 21:24:52 +00:00