diff options
author | vd <vd@FreeBSD.org> | 2007-05-02 02:23:58 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2007-05-02 02:23:58 +0800 |
commit | 46443cdda58decbf466a15c8546663b1377105c1 (patch) | |
tree | 0c50a62520a3a999feefd07be0677c2b4444dad6 /textproc/libextractor | |
parent | a7c3d01a9b0d3987a0d8ee9b72ba43a90a1f73fa (diff) | |
download | freebsd-ports-gnome-46443cdda58decbf466a15c8546663b1377105c1.tar.gz freebsd-ports-gnome-46443cdda58decbf466a15c8546663b1377105c1.tar.zst freebsd-ports-gnome-46443cdda58decbf466a15c8546663b1377105c1.zip |
Remove patch-src_plugins_pngextractor.c: libextractor now has its own
implementation of strnlen().
Diffstat (limited to 'textproc/libextractor')
-rw-r--r-- | textproc/libextractor/files/patch-src_plugins_pngextractor.c | 16 |
1 files changed, 0 insertions, 16 deletions
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 4109d8187714..000000000000 --- 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 <zlib.h> - #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; |