cvs: /php4/sapi/isapi php4isapi.c

From: Date: Sun, 19 Mar 2000 18:24:39 +0000
Subject: cvs: /php4/sapi/isapi php4isapi.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-12411@lists.php.net to get a copy of this message
shane Sun Mar 19 10:24:39 2000 EDT Modified files: /php4/sapi/isapi php4isapi.c Log: I suppose errors should be printed prior to endthread Index: php4/sapi/isapi/php4isapi.c diff -u php4/sapi/isapi/php4isapi.c:1.32 php4/sapi/isapi/php4isapi.c:1.33 --- php4/sapi/isapi/php4isapi.c:1.32 Sun Mar 19 10:22:11 2000 +++ php4/sapi/isapi/php4isapi.c Sun Mar 19 10:24:09 2000 @@ -580,14 +580,16 @@ CG(unclean_shutdown)=1; _snprintf(buf,sizeof(buf)-1,"PHP has encountered a Stack overflow"); + php_isapi_report_exception(buf, strlen(buf) SLS_CC); } else if (_exception_code()==EXCEPTION_ACCESS_VIOLATION) { _snprintf(buf,sizeof(buf)-1,"PHP has encountered an Access Violation at %p",e->ExceptionRecord->ExceptionAddress); + php_isapi_report_exception(buf, strlen(buf) SLS_CC); my_endthread(); } else { _snprintf(buf,sizeof(buf)-1,"PHP has encountered an Unhandled Exception Code %d at %p",e->ExceptionRecord->ExceptionCode , e->ExceptionRecord->ExceptionAddress); + php_isapi_report_exception(buf, strlen(buf) SLS_CC); my_endthread(); } - php_isapi_report_exception(buf, strlen(buf) SLS_CC); #endif } __try {

« previous php.version4 (#12411) next »