jer         15/01/07 15:14:35

  Added:                dmalloc-5.5.2-string-macros.patch
  Log:
  Undefine strdup and strndup macros (bug #534768 by Toralf Förster).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch?rev=1.1&content-type=text/plain

Index: dmalloc-5.5.2-string-macros.patch
===================================================================
--- a/dmalloc.h.3
+++ b/dmalloc.h.3
@@ -405,6 +405,7 @@
  *
  * string -> String we are duplicating.
  */
+#undef strdup
 extern
 char   *strdup(const char *string);
 #endif /* ifndef DMALLOC_STRDUP_MACRO */
@@ -429,6 +430,7 @@
  *
  * len -> Length of the string to duplicate.
  */
+#undef strndup
 extern
 char   *strndup(const char *string, const DMALLOC_SIZE len);
 




Reply via email to