From 38309dc482eb80037b620d5797fce133fe5f3060 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 12 Feb 2012 19:31:15 +0100 Subject: [PATCH] regex: Remove obsolete patch --- glib/update-pcre/Makefile.am | 3 +-- glib/update-pcre/pcre_valid_utf8.c | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 glib/update-pcre/pcre_valid_utf8.c diff --git a/glib/update-pcre/Makefile.am b/glib/update-pcre/Makefile.am index 90014a563..31171ece3 100644 --- a/glib/update-pcre/Makefile.am +++ b/glib/update-pcre/Makefile.am @@ -5,5 +5,4 @@ EXTRA_DIST += \ Makefile.am-1 \ Makefile.am-2 \ digitab.patch \ - memory.patch \ - pcre_valid_utf8.c + memory.patch diff --git a/glib/update-pcre/pcre_valid_utf8.c b/glib/update-pcre/pcre_valid_utf8.c deleted file mode 100644 index b7671a96e..000000000 --- a/glib/update-pcre/pcre_valid_utf8.c +++ /dev/null @@ -1,14 +0,0 @@ -#include "config.h" -#include "pcre_internal.h" - -/* - * This function is not needed by GRegex, so print an error and - * return always -1, that is the string is a valid UTF-8 encoded - * string. - */ -int -_pcre_valid_utf8(const uschar *string, int length) -{ -g_warning ("%s: this function should not be called", G_STRLOC); -return -1; -} -- 2.11.0