Permalink
Browse files

More thread safety work

  • Loading branch information...
1 parent 7a87fcb commit c5af324ec328b6d99971d53f7eeef1dae6bd017f @zsuraski zsuraski committed Apr 21, 1999
Showing with 256 additions and 185 deletions.
  1. +1 −0 ext/standard/basic_functions.c
  2. +1 −0 ext/standard/exec.c
  3. +152 −119 ext/standard/file.c
  4. +18 −23 ext/standard/filestat.c
  5. +1 −1 ext/standard/link.c
  6. +4 −3 main.h
  7. +4 −1 main/configuration-parser.y
  8. +7 −3 main/fopen_wrappers.c
  9. +52 −34 main/main.c
  10. +1 −1 main/php.h
  11. +3 −0 main/php_globals.h
  12. +12 −0 php4.dsw
@@ -1732,6 +1732,7 @@ void php3_call_user_method(INTERNAL_FUNCTION_PARAMETERS)
pval **params;
pval retval;
int arg_count=ARG_COUNT(ht);
+ CLS_FETCH();
if (arg_count<2) {
WRONG_PARAM_COUNT;
View
@@ -342,6 +342,7 @@ PHP_FUNCTION(shell_exec)
FILE *in;
int readbytes,total_readbytes=0,allocated_space;
pval *cmd;
+ PLS_FETCH();
if (ARG_COUNT(ht)!=1 || getParameters(ht, 1, &cmd)==FAILURE) {
WRONG_PARAM_COUNT;
Oops, something went wrong.

0 comments on commit c5af324

Please sign in to comment.