Commit Graph

6110 Commits

Author SHA1 Message Date
Sascha Schumann
1d68a02df3 The status quo in PHP is that the current directory is initialized
to the directory where the executing script is located.

Since this needs to be implemented for all SAPI modules anyway, this
change moves the functionality to php_execute_script() and gets rid
of the per-module code.
2000-08-20 14:29:00 +00:00
Sascha Schumann
320105bcd8 Use size_t as parameter type in the getenv member of struct sapi_module 2000-08-20 14:20:21 +00:00
Sascha Schumann
6358dad0e1 const'ify virtual-cwd API 2000-08-20 14:11:50 +00:00
Sascha Schumann
c8b8a908ca Provide PHP_SEPARATOR which expands to the default directory separator
on the target platform.
2000-08-20 14:02:57 +00:00
Stanislav Malyshev
ce0c4a7991 Fix fgetc (#6259) and ftell error condition returns 2000-08-20 13:24:14 +00:00
Sascha Schumann
d3aeebdd1f Fix prototype of virtual_real_chdir_file. 2000-08-20 13:09:57 +00:00
Sascha Schumann
c86ec8b1a9 Add virtual_real_chdir_file. Silly name for a useful function. 2000-08-20 12:49:56 +00:00
Sterling Hughes
f75db1e3cb A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
	the C API.
	- Make module compatible with thread safety features.
	- open_listen_sok() -> open_listen_sock()
	- Remove ext_skel comments
	- Get rid of the ZVAL macro and replace with the correct Z_*_*
	macros
	- declare all functions local to the file as static.
	- Remove empty PHP_MSHUTDOWN() function.
	- Removed confirm_sockets_compiled()
	- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
	with incorrect return values and a potential leak/crash or two.
	- functions that return void, actually return void
	- Replaced 'long' in the prototypes with 'int'
	- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
	gave it the proper parameter count.
	- Changed the way an arbitrary number of parameters were accessed
	from build_iovec() to use the Zend API.
	- Added socketpair() and shutdown() functions.
2000-08-20 10:31:27 +00:00
Sascha Schumann
67daa655f6 Execute PHP scripts everywhere (not only in the top-level directory) 2000-08-20 09:37:15 +00:00
Sascha Schumann
42eeda50d4 Remove -DHAVE_CONFIG_H. It ain't used anywhere. 2000-08-20 08:58:19 +00:00
Sascha Schumann
9b9f9fa4dd _isnan seems to be supported on Win32, add an appropiate macro. 2000-08-20 08:31:34 +00:00
Sterling Hughes
cd599d17c0 Bunch o' changes..
- Add the ability to return the web page into a variable
	by setting the CURLOPT_RETURNTRANSFER constant to 1.
	- Make everything conform to the naming guidelines.
	- Delete the resource id from the file_id table when a
	resource is closed.
2000-08-20 08:28:00 +00:00
Sascha Schumann
9e6e64955f If available, use fpclassify for substituting zend_finite. 2000-08-20 07:12:48 +00:00
Sascha Schumann
6aada077a0 Including math.h before using macros defined there will work better :) 2000-08-20 06:09:07 +00:00
Sascha Schumann
4ba16a1169 Make use of zend_isinf and zend_isnan. 2000-08-20 06:08:14 +00:00
Sascha Schumann
1f84023b05 Add zend_isinf and zend_isnan. 2000-08-20 06:07:42 +00:00
Sascha Schumann
e325e06693 Add/update license 2000-08-20 05:39:37 +00:00
Sascha Schumann
97c698a178 Relicense build-related files under the PHP License
Move common make rules to rules_common.mk. This gets rid of the duplicated
stuff in rules.mk/rules_pear.mk.
2000-08-20 05:36:07 +00:00
Sascha Schumann
fbdf502307 Remove php_realpath from build.
It was broken and should not be used in any way.
2000-08-20 05:27:59 +00:00
cf8d95b922 ChangeLog update 2000-08-20 01:09:16 +00:00
Jesus M. Castagnetto
e103155d92 Added some more predefined constants 2000-08-19 22:01:37 +00:00
Frank M. Kromann
61df257c0f We only need winsock.h one time 2000-08-19 21:15:43 +00:00
Frank M. Kromann
705e6f2ec6 Adding ignore file for Win32 2000-08-19 19:08:32 +00:00
Frank M. Kromann
c2357ccc26 Fixing paths to Zend and libmysql 2000-08-19 19:05:22 +00:00
Frank M. Kromann
cba39bcd9c Fixing include path for compiling non thread safe php.exe 2000-08-19 18:50:03 +00:00
Andrei Zmievski
0691afb08c One more fix to C compile. 2000-08-19 18:13:52 +00:00
Stig Venaas
48b5c6d900 Note about Oracle LDAP SDK support. Should I not say experimental? 2000-08-19 18:09:21 +00:00
Zeev Suraski
595ca6b588 Fix C build 2000-08-19 18:05:15 +00:00
Zeev Suraski
7a45e3cb89 - Update NEWS
- Fix non ZTS Windows build
2000-08-19 18:01:04 +00:00
Zeev Suraski
f8d74acd93 Fix eval() leakage in ZTS mode 2000-08-19 17:58:04 +00:00
Zeev Suraski
c34f41b7c5 Eliminate run-time leak with eval()'s 2000-08-19 17:50:42 +00:00
Zeev Suraski
79b0a56c51 Fix build with no memory_limit 2000-08-19 16:51:30 +00:00
Zeev Suraski
3f4c8e665a Update NEWS 2000-08-19 16:40:23 +00:00
Zeev Suraski
f112b68668 Avoid an endless loop situation in case of an error situation while sending headers 2000-08-19 16:38:19 +00:00
Zeev Suraski
07b5d74022 Fix memory_limit 2000-08-19 16:35:02 +00:00
Andi Gutmans
c698e14635 - Beautify 2000-08-19 15:16:53 +00:00
Stig Venaas
90eac6a390 Adding Oracle LDAP SDK support 2000-08-19 14:10:11 +00:00
0959b16f87 ChangeLog update 2000-08-19 01:09:15 +00:00
Andi Gutmans
0c57780b11 - Centralize more fopen-wrappers functionality. 2000-08-18 23:03:49 +00:00
Frank M. Kromann
53a3f074ab Adding howto file for MS SQL 2000-08-18 22:24:27 +00:00
Chuck Hagenbuch
c4b2498bae use estrndup and efree to hopefully avoid both munging of arguments and
leaking memory.
2000-08-18 16:02:27 +00:00
Ben Mansell
ea98567404 REQUEST_URI is a handy server variable, lets pass it onto ISAPI/PHP 2000-08-18 14:18:57 +00:00
Sascha Schumann
382dd4a394 Add necessary *_FETCH() macros 2000-08-18 13:50:04 +00:00
Sterling Hughes
890ae1e244 #Its fixed this time, no really. 2000-08-18 13:43:22 +00:00
Sterling Hughes
c80f2bcba2 Purely cosmetic. 2000-08-18 13:24:00 +00:00
Sterling Hughes
1b8ee02fd6 Fix #6234 2000-08-18 13:22:09 +00:00
Hartmut Holzgraefe
c1ceeaf830 typo fix in array_diff error message, fixes bug #6236 2000-08-18 12:45:01 +00:00
Hartmut Holzgraefe
867160a751 minor typo fix in proto 2000-08-18 12:28:28 +00:00
d484ad1d6c ChangeLog update 2000-08-18 01:09:07 +00:00
Sam Ruby
3aad950735 Reorder call to ELS_FETCH to be after declarations 2000-08-17 19:19:54 +00:00