cvs: /php4/sapi/apache sapi_apache.c
| From: | Zeev Suraski | Date: | Thu, 09 Dec 1999 17:13:51 +0000 |
| Subject: | cvs: /php4/sapi/apache sapi_apache.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7723@lists.php.net to get a copy of this message | ||
zeev Thu Dec 9 12:13:51 1999 EDT
Modified files:
/php4/sapi/apache sapi_apache.c
Log:
@- Fix a crash in the Apache syntax highlighting mode (Zeev)
Index: php4/sapi/apache/sapi_apache.c
diff -u php4/sapi/apache/sapi_apache.c:1.4 php4/sapi/apache/sapi_apache.c:1.5
--- php4/sapi/apache/sapi_apache.c:1.4 Sat Dec 4 14:16:12 1999
+++ php4/sapi/apache/sapi_apache.c Thu Dec 9 12:13:20 1999
@@ -19,7 +19,7 @@
| Stig Bakken <ssb@fast.no> |
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache.c,v 1.4 1999/12/04 19:16:12 sas Exp $ */
+/* $Id: sapi_apache.c,v 1.5 1999/12/09 17:13:20 zeev Exp $ */
#include "php.h"
@@ -79,7 +79,6 @@
if (open_file_for_scanning(&file_handle CLS_CC)==SUCCESS) {
php_get_highlight_struct(&syntax_highlighter_ini);
zend_highlight(&syntax_highlighter_ini);
- fclose(file_handle.handle.fp);
return OK;
} else {
return NOT_FOUND;