Files
collectd/collectd-dont_poison_strcpy.patch
2011-02-03 01:08:32 +00:00

14 lines
408 B
Diff

--- src/collectd.h.orig 2008-09-12 00:14:09.000000000 +0200
+++ src/collectd.h 2008-09-12 00:14:55.000000000 +0200
@@ -254,10 +254,6 @@
# define __attribute__(x) /**/
#endif
-#if __GNUC__
-# pragma GCC poison strcpy strcat strtok
-#endif
-
/*
* Special hack for the perl plugin: Because the later included perl.h defines
* a macro which is never used, but contains `sprintf', we cannot poison that