Markus Fischer
8e8f75a864
- Move macro code into distinct function for easier debugging as suggested by
...
Andi.
2002-06-03 20:52:07 +00:00
Markus Fischer
8060dae548
- Fix isatty() and ttyname() ( Closes #17323 , #17333 ).
2002-06-03 15:49:38 +00:00
Markus Fischer
94501132c6
- Fix posix_isatty() and posix_ttyname() ( Closes #17323 )
2002-05-20 23:26:13 +00:00
Sascha Schumann
3fbbd61dc2
p is set, but never used.
2002-05-04 16:54:13 +00:00
Markus Fischer
a8b633bfa2
- Fix proto.
2002-04-23 22:22:17 +00:00
foobar
c46199f5b9
Do NOT use c++ comments in c code!!!!!
2002-04-13 00:31:55 +00:00
Derick Rethans
a19078870e
- Fix defines
2002-04-10 06:22:12 +00:00
Dan Kalowsky
160fe54bab
When #if BLAHING a section, ensure to make it's prototype included. Returns
...
build capability to MacOSX.
2002-03-06 16:14:00 +00:00
Derick Rethans
2f04af4402
- More ZTS fixes
2002-03-06 11:26:05 +00:00
Markus Fischer
003bb8c2b4
- Introduced posix_errno() (get error number from last error message) and
...
posix_strerror() (convert error number into error string).
- Do not output any error message if any of the function fails with FALSE
return value. The proper way now is to call posix_errno() and
posix_strerror() after encountering an error condition.
- Function not support on a system no longer issue a 'not available' error
but simply don't exist so we can safely use 'function_exists'.
- Fixed protos.
- Use new parameter parsing API.
- posix_uname() may be aware of 'domainname' (GNU extension)
- posix_getgrnam(), posix_getgrgid(): the returned information does no
longer contains mixture of string and numbered keys (hash / array)
but contains key 'member' with an array of all members in a list
(or an empty array). This breaks BC but is the right thing IMHO.
2002-03-05 16:04:04 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Derick Rethans
a345d2ce86
- Prototypes
2001-11-08 20:21:01 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
foobar
529b4dca82
Cleanup. (some relics from php3 era?)
2001-08-08 02:02:02 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Andi Gutmans
d0ec3df288
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
...
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
2000-11-02 23:08:07 +00:00
Hartmut Holzgraefe
86f2ad3017
I SHALL NOT TOUCH A RELEASE CANDIDATE!
...
I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
(previous patch reverted)
2000-10-09 15:24:26 +00:00
Hartmut Holzgraefe
bbc37db2f3
added support for GNU-specific domainname field in uname
2000-10-09 15:12:34 +00:00
Andi Gutmans
fb2c23645b
- Clean-up original code and add to NEWS.
2000-10-05 18:26:54 +00:00
Alexander Feldman
791cda209c
Fixed posix_addlimit() when adding the string "unlimited" to the result.
...
Now the posix_getrlimit() function does not cause core dump.
2000-10-05 18:06:55 +00:00
Thies C. Arntzen
7b388964ee
fixed ZTS compile
2000-08-04 18:14:38 +00:00
Kristian Köhntopp
cd2929aead
Access to global variable safe_mode fixed.
2000-07-26 21:38:21 +00:00
Kristian Köhntopp
102156298a
Added seteuid and setegid functions on request by max@valkyrie.sscf.ucsb.edu.
...
Also fixed the function detection for the HAVE_ functions.
2000-07-26 21:25:01 +00:00
Egon Schmid
23b56e3c64
Some cosmetic changes.
2000-07-15 14:35:41 +00:00
Stanislav Malyshev
6ace712438
Fix add_assoc_string functions.
...
add_assoc_string(l) last parameter is "duplicate", not string length.
2000-07-07 08:47:11 +00:00
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
...
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
2000-06-25 17:02:59 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
358bdc8832
Make posix module buildable as shared module
2000-05-01 21:36:52 +00:00
Andi Gutmans
c9911a151e
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:28:48 +00:00
Colin Viebrock
0c2b366ce1
phpinfo() prettying
2000-04-05 21:43:03 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00
Andrei Zmievski
2603f1c419
Zend fixups.
1999-12-20 15:23:38 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
02d3b39420
More php3_ annihilation
1999-12-17 19:16:50 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Sascha Schumann
401580a716
Add posix module
1999-12-03 13:13:48 +00:00