From 4ea6d477ec2f47cae7c6d43e6d467b438e440c63 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 31 May 1999 19:58:20 +0000 Subject: [PATCH] thread-safety fix --- main/main.c | 7 +++++-- 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 -- 2.50.1