summaryrefslogtreecommitdiff
path: root/gl/lib/regex_internal.c.diff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-03-14 08:59:56 -0700
committerJim Meyering <meyering@fb.com>2016-03-15 07:36:12 -0700
commitc18b3699e1b8c4ad2739761f2b9c306ff2303322 (patch)
tree2715bf265d5468b2965af4646092aebf26a23136 /gl/lib/regex_internal.c.diff
parente735d417fb2e5c7427b3622f2a78e65e450b49a8 (diff)
downloadcoreutils-c18b3699e1b8c4ad2739761f2b9c306ff2303322.tar.xz
maint: remove gl/lib/reg*.c.diff; no longer needed
* gl/lib/regcomp.c.diff: Remove file, now that gnulib's regcomp.c compiles regex.c with -Wno-unused-parameter. * gl/lib/regex_internal.h.diff: Likewise. * gl/lib/regex_internal.c.diff: This file induced a change to ensure that the "Idx" type was unsigned and to remove a few "VAR < 0" comparisons. These days, it is probably fine to stay in sync with gnulib/glibc's copies of these files, so remove these patches, too. * gl/lib/regexec.c.diff: Likewise. Prompted by a report by Assaf Gordon and a suggestion from Paul Eggert.
Diffstat (limited to 'gl/lib/regex_internal.c.diff')
-rw-r--r--gl/lib/regex_internal.c.diff25
1 files changed, 0 insertions, 25 deletions
diff --git a/gl/lib/regex_internal.c.diff b/gl/lib/regex_internal.c.diff
deleted file mode 100644
index 2a72e0de7..000000000
--- a/gl/lib/regex_internal.c.diff
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/lib/regex_internal.c b/lib/regex_internal.c
-index 93d7ee9..9b86a07 100644
---- a/lib/regex_internal.c
-+++ b/lib/regex_internal.c
-@@ -17,6 +17,8 @@
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-+#include "verify.h"
-+#include "intprops.h"
- static void re_string_construct_common (const char *str, Idx len,
- re_string_t *pstr,
- RE_TRANSLATE_TYPE trans, bool icase,
-@@ -1389,7 +1391,10 @@ static void
- internal_function
- re_node_set_remove_at (re_node_set *set, Idx idx)
- {
-- if (idx < 0 || idx >= set->nelem)
-+ verify (! TYPE_SIGNED (Idx));
-+ /* if (idx < 0)
-+ return; */
-+ if (idx >= set->nelem)
- return;
- --set->nelem;
- for (; idx < set->nelem; idx++)