Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
9f4c0ae6c0
More TSRMLS_FETCH work
2001-07-30 09:16:46 +00:00
Zeev Suraski
b0224d51da
Zend compatibility patch
2001-07-30 05:36:18 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Sascha Schumann
8492ece5f6
While researching a crash-bug in mail(), I found these two goldies.
...
Replace php_escape_shell_(arg|cmd) with straight-forward implementations.
2001-07-22 21:32:55 +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
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Sean Bright
4175151567
- Fix for bugs #9042 , #8212 , and #8962 . Patch from <tunacat@yahoo.com>
...
- Fixed proto for exec()
2001-04-28 13:16:18 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
André Langhorst
9fa484104e
fix stas' last commit, added additional ifdefs PHP_SIGCHILD to fix win32 build
2001-02-23 05:08:15 +00:00
Stanislav Malyshev
4cda96691c
Fix #8992 , patch by yasushi_takahashi@tsuken.co.jp
2001-02-22 10:15:52 +00:00
Rasmus Lerdorf
e37d304d35
Name this php_Exec instead
2001-01-14 16:41:06 +00:00
Rasmus Lerdorf
5311bfa5c5
Export _Exec for extensions to use
2001-01-14 16:30:22 +00:00
Derick Rethans
1104639d0a
- There was one ret left, changed it to FG(pclose_ret), this fixes the
...
build
2001-01-13 21:52:09 +00:00
Zeev Suraski
86624dfad9
- Fix exec() bug
...
- Merge fsock and file globals
2001-01-13 13:59:22 +00:00
Thies C. Arntzen
6871b839b5
exec'd processes now get cleaned up even if the browser connections was
...
aborted.
fixes : #8143
2001-01-10 13:08:14 +00:00
Stanislav Malyshev
c7984660fc
Use platform's dir separator
2001-01-08 16:39:39 +00:00
Zeev Suraski
944c3b40b4
That slipped in :(
2000-12-13 23:40:44 +00:00
Zeev Suraski
be895bcb96
Fix call_user_function() with objects - it could leak under certain circumstances
2000-12-13 22:50:10 +00:00
Sascha Schumann
949b0893dc
The result of conv_z_macros and some manual conversion of
...
"return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL.
2000-11-27 13:31:21 +00:00
Rasmus Lerdorf
4a22d2e832
Add EscapeShellArg() function which turns a b into 'a b' and
...
a'b into 'a'\''b'
@Add EscapeShellArg() function (Rasmus)
2000-09-05 16:55:32 +00:00
Egon Schmid
d9cd56ea76
Description from the ChangeLog. Thies, is it correct?
2000-08-06 17:56:56 +00:00
Stanislav Malyshev
e109aa30d6
When output is empty, exec should return "", not "\0" ( #5775 )
...
@- Fixed exec() returning "\0" when output is empty
2000-08-01 07:22:59 +00:00
Stanislav Malyshev
8fd20c3ec7
Make exec() fwork on Unix again
2000-06-26 17:12:38 +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
719d995a9d
- On UNIX support popen() which works with current working directory
...
- when in VIRTUAL_DIR mode.
2000-06-12 19:39:04 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
df4547a3df
another bunch of proto fixes
2000-05-23 23:13:02 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Egon Schmid
0beaaa9356
Hartmut don't touch protos. Only two lines are allowed.
2000-03-06 16:01:54 +00:00
Hartmut Holzgraefe
36abfe1121
off-by-one error (bug id #3741 ) fixed
2000-03-06 15:32:05 +00:00
Egon Schmid
7da7a50c69
More protos.
2000-02-24 08:07:29 +00:00
Andrei Zmievski
98674b73bd
(PHP exec) Return last line of output properly.
2000-02-22 18:00:32 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Andrei Zmievski
0f4b9aa812
Fix prototype.
2000-02-11 19:19:06 +00:00
Andrei Zmievski
055645b079
(PHP passthru) Shouldn't return anything.
...
This fixes bugs #3428 and #3430 .
2000-02-11 19:16:36 +00:00
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
2000-02-11 15:59:30 +00:00
Andi Gutmans
29280bb9ec
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
2000-02-10 21:53:56 +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
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Evan Klinger
eb54c032c8
Ex API
1999-12-20 01:23:15 +00:00
Zeev Suraski
3ee4e65c95
More php3_ annihilation
1999-12-18 04:01:20 +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
d462115341
Killing some unused variable warnings
1999-11-24 17:56:31 +00:00
Thies C. Arntzen
e6ffafa264
(shell_exec) use pclose for FILE* that has been opened via popen!
...
@- Fixed zombie problem in shell_exec() and $a = `some_command`
@ constructs. (Thies)
1999-10-13 14:01:47 +00:00
Rasmus Lerdorf
f42659a8f1
Kill a warning
1999-09-04 22:15:51 +00:00
Zeev Suraski
c12d4bc7d4
*** empty log message ***
1999-09-04 13:18:59 +00:00
Andrey Hristov
c10c675f5b
Fixed bug #2105
1999-08-18 17:23:01 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Mike Gerdts
72f675be50
exec() can now properly handle lines longer than (EXEC_INPUT_BUF-2) bytes.
...
Lines being returned via the array that that contain only "\n" now are
trimmed down to "" to be consistent with exec's whitespace trimming
behavior for all other lines.
1999-07-20 20:19:58 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Andi Gutmans
250d803c31
- Fix for exec to use API
1999-06-01 16:41:56 +00:00
Sascha Schumann
39691bed9e
conv_proto *.[ch]
1999-05-16 11:19:26 +00:00
Zeev Suraski
3cd0af11ee
* Get the Apache module to compile again
...
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
1999-04-26 17:26:37 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Zeev Suraski
c5af324ec3
More thread safety work
1999-04-21 04:02:11 +00:00
Zeev Suraski
5e8c322859
Make Win32 happy with the recent changes.
1999-04-18 15:58:27 +00:00
Stig Bakken
257de2bade
First commit of re-structuring phase one. We have started using automake in
...
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
1999-04-17 00:37:12 +00:00