summaryrefslogtreecommitdiff
path: root/community-staging/librcc/librcc-strnlen.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-01 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2012-01-01 23:14:56 +0000
commit29f5aa692a3fa3ff3e743a47d1c57f1cc0341809 (patch)
tree862d365a74545cb3e7616d14e3b660aae977e6f8 /community-staging/librcc/librcc-strnlen.patch
parent8654516201466a2dd3f3f05a6c0095e69c01715c (diff)
Sun Jan 1 23:14:56 UTC 2012
Diffstat (limited to 'community-staging/librcc/librcc-strnlen.patch')
-rw-r--r--community-staging/librcc/librcc-strnlen.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community-staging/librcc/librcc-strnlen.patch b/community-staging/librcc/librcc-strnlen.patch
new file mode 100644
index 000000000..9fc0e8b0b
--- /dev/null
+++ b/community-staging/librcc/librcc-strnlen.patch
@@ -0,0 +1,17 @@
+diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h
+--- librcc-0.2.6/src/rccstring.h 2006-01-08 15:42:59.000000000 +0000
++++ librcc-0.2.6.qwe/src/rccstring.h 2009-09-28 08:45:37.000000000 +0000
+@@ -18,13 +18,6 @@
+ int rccStringFixID(rcc_string string, rcc_context ctx);
+ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
+
+-#ifdef HAVE_STRNLEN
+-# ifndef strnlen
+-int strnlen(const char *str, size_t size);
+-# endif /* !strnlen */
+-#else
+-int rccStrnlen(const char *str, size_t size);
+-#endif /* HAVE_STRNLEN */
+ int rccIsASCII(const char *str);
+ size_t rccStringSizedGetChars(const char *str, size_t size);
+