diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-31 19:58:20 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-31 19:58:20 +0000 |
commit | 4ea6d477ec2f47cae7c6d43e6d467b438e440c63 (patch) | |
tree | 80cd5b83d4bf0cf0c91d418b6c17e51dac6ed48a | |
parent | 63f2cc9fe9955f96febbef9ed85f339b8e5bdd9a (diff) | |
download | php-git-4ea6d477ec2f47cae7c6d43e6d467b438e440c63.tar.gz |
thread-safety fix
-rw-r--r-- | main/main.c | 7 | ||||
-rw-r--r-- | php4dll.dsp | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index 421c91ffcd..b105975fad 100644 --- a/main/main.c +++ b/main/main.c @@ -606,8 +606,11 @@ static void php_message_handler_for_zend(long message, void *data) } } break; - case ZMSG_LOG_SCRIPT_NAME: - fprintf(stderr, "Script: '%s'\n", SG(request_info).path_translated); + case ZMSG_LOG_SCRIPT_NAME: { + SLS_FETCH(); + + fprintf(stderr, "Script: '%s'\n", SG(request_info).path_translated); + } break; } } diff --git a/php4dll.dsp b/php4dll.dsp index cb4b239263..779c8042fa 100644 --- a/php4dll.dsp +++ b/php4dll.dsp @@ -143,6 +143,10 @@ SOURCE=.\request_info.c # End Source File
# Begin Source File
+SOURCE=.\rfc1867.c
+# End Source File
+# Begin Source File
+
SOURCE=.\safe_mode.c
# End Source File
# Begin Source File
@@ -219,6 +223,10 @@ SOURCE=.\request_info.h # End Source File
# Begin Source File
+SOURCE=.\rfc1867.h
+# End Source File
+# Begin Source File
+
SOURCE=.\safe_mode.h
# End Source File
# Begin Source File
|