[xdebug-dev] xdebug xdebug/xdebug_mm.h - Fixed issue with strndup's GNU extensions.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 23 Jan 2006 08:14:44 +0100

Date: Mon Jan 23 08:14:44 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed issue with strndup's GNU extensions.

Modified files:
           xdebug/xdebug_mm.h (version: 1.4)

[FILE: /xdebug/xdebug_mm.h]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xdebug/xdebug_mm.h:1.3 Sun Jan 22 22:30:59 2006 GMT
+++ xdebug/xdebug_mm.h Mon Jan 23 06:14:44 2006 GMT
@@ -28,13 +28,12 @@
 #define xdstrdup estrdup
 #define xdstrndup estrndup
 #else
-#include <string.h>
 #define xdmalloc malloc
 #define xdcalloc calloc
 #define xdrealloc realloc
 #define xdfree free
 #define xdstrdup strdup
-#define xdstrndup strndup
+#define xdstrndup zend_strndup
 #endif
 
 #endif
Received on Mon Jan 23 2006 - 08:14:47 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST