OSDN Git Service

regex: Remove obsolete patch
authorChristian Persch <chpe@gnome.org>
Sun, 12 Feb 2012 18:31:15 +0000 (19:31 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 03:09:04 +0000 (22:09 -0500)
glib/update-pcre/Makefile.am
glib/update-pcre/pcre_valid_utf8.c [deleted file]

index 90014a5..31171ec 100644 (file)
@@ -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 (file)
index b7671a9..0000000
+++ /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;
-}