summaryrefslogtreecommitdiff
path: root/package/diffutils/patches/patch-lib_regex_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-17 21:56:04 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-17 21:56:04 +0200
commitb2c55530b8e48225329e2833d3e2ce1f74a59d77 (patch)
tree7e03a71d9a9720ebb467efa80b98d69c113ec0f0 /package/diffutils/patches/patch-lib_regex_c
parent541c723fa37dd324146f5c7ddb71866d0b873bad (diff)
diffutils: update to 3.3
Diffstat (limited to 'package/diffutils/patches/patch-lib_regex_c')
-rw-r--r--package/diffutils/patches/patch-lib_regex_c16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/diffutils/patches/patch-lib_regex_c b/package/diffutils/patches/patch-lib_regex_c
deleted file mode 100644
index c4a8bec7b..000000000
--- a/package/diffutils/patches/patch-lib_regex_c
+++ /dev/null
@@ -1,16 +0,0 @@
-workaround for uClibc
---- diffutils-2.8.1.orig/lib/regex.c 2002-03-01 08:44:52.000000000 +0100
-+++ diffutils-2.8.1/lib/regex.c 2009-08-28 16:39:02.000000000 +0200
-@@ -8313,12 +8313,8 @@ regerror (errcode, preg, errbuf, errbuf_
- {
- if (msg_size > errbuf_size)
- {
--#if defined HAVE_MEMPCPY || defined _LIBC
-- *((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
--#else
- memcpy (errbuf, msg, errbuf_size - 1);
- errbuf[errbuf_size - 1] = 0;
--#endif
- }
- else
- memcpy (errbuf, msg, msg_size);