From 46443cdda58decbf466a15c8546663b1377105c1 Mon Sep 17 00:00:00 2001 From: vd Date: Tue, 1 May 2007 18:23:58 +0000 Subject: Remove patch-src_plugins_pngextractor.c: libextractor now has its own implementation of strnlen(). --- .../libextractor/files/patch-src_plugins_pngextractor.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 textproc/libextractor/files/patch-src_plugins_pngextractor.c (limited to 'textproc') diff --git a/textproc/libextractor/files/patch-src_plugins_pngextractor.c b/textproc/libextractor/files/patch-src_plugins_pngextractor.c deleted file mode 100644 index 4109d81..0000000 --- a/textproc/libextractor/files/patch-src_plugins_pngextractor.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/plugins/pngextractor.c.orig Tue Oct 4 22:36:11 2005 -+++ src/plugins/pngextractor.c Tue Oct 4 22:36:40 2005 -@@ -23,6 +23,13 @@ - #include - #include "convert.h" - -+size_t -+strnlen (const char *string, size_t maxlen) -+{ -+ const char *end = memchr (string, '\0', maxlen); -+ return end ? (size_t) (end - string) : maxlen; -+} -+ - static char * stndup(const char * str, - size_t n) { - char * tmp; -- cgit v1.1