Ilia Alshanetsky
a8d4bb9d28
Silence compiler warning.
2002-11-04 17:38:30 +00:00
Jan Lehnardt
cf4d435a12
- fix segfault in proc_open
...
#no bugreports found
2002-10-24 08:46:21 +00:00
Wez Furlong
0141e97052
Make these all work with persistent streams too.
2002-09-25 15:46:47 +00:00
Ilia Alshanetsky
a694fa9ca7
Fixed bug #19313
...
Fixed argument count check for system/exec/passthru functions
Added a check to system/exec/passthru functions to make sure execution
parameter is not blank before attempting to execute it.
2002-09-19 18:59:32 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
James E. Flemer
3a8d66a021
Fix typo in #if. Bug #17538 .
2002-08-02 14:35:24 +00:00
Rasmus Lerdorf
b15651c95f
Ugh
2002-08-01 15:51:56 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Wez Furlong
4fd00c9502
Fix (stupid) segfault. #17379
2002-05-23 10:17:07 +00:00
Derick Rethans
708f980389
- Fix unchecked return values with parameters to proc_open. (Fixes
...
bug #17375 )
2002-05-23 07:52:03 +00:00
Stanislav Malyshev
b67bafefa5
Return right exit status
2002-05-05 17:14:12 +00:00
Derick Rethans
8ffd089e02
- Fix for bug #16811
2002-04-25 06:43:11 +00:00
Wez Furlong
fea3b0a7f8
fix TS build
2002-04-03 13:47:21 +00:00
Wez Furlong
27d1f7db16
Tidy up win32 implementation of proc_open.
...
Respect safe_mode_exec_dir.
Implement proc_close and return process return code under win32.
2002-04-03 13:39:35 +00:00
Wez Furlong
a0f165a5cb
main/streams.c
2002-04-02 16:46:33 +00:00
Wez Furlong
659a071e3d
Streams are all tracked as resources now.
...
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00
Wez Furlong
09213d7bf8
change * formatting
2002-03-16 01:28:57 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
488b76b95d
ws fix
2001-11-04 02:09:55 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Zeev Suraski
c0404f4631
Whitespace
2001-08-11 17:03:37 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
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