Date: Thu May 31 20:42:48 CEST 2007
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- "Last error" bits are only available in PHP 5 and later.
Modified files:
xdebug/xdebug.c (version: 1.392)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -r1.391 -r1.392
--- xdebug/xdebug.c:1.391 Wed May 30 15:34:09 2007 GMT
+++ xdebug/xdebug.c Thu May 31 16:42:48 2007 GMT
@@ -2189,6 +2189,7 @@
error_type_str = xdebug_error_type(type);
+#if PHP_MAJOR_VERSION >= 5
/* Store last error message for error_get_last() */
if (PG(last_error_message)) {
free(PG(last_error_message));
@@ -2202,6 +2203,7 @@
PG(last_error_message) = strdup(buffer);
PG(last_error_file) = strdup(error_filename);
PG(last_error_lineno) = error_lineno;
+#endif
#if PHP_MAJOR_VERSION >= 5
/* according to error handling mode, suppress error, throw exception or show it */
Received on Thu May 31 2007 - 20:42:50 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST