From 1c931f6f51c050ee9ad0b837dd2d0233f1dc3221 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 14 Mar 2012 11:17:48 +0200 Subject: Fix compile warnings on DJGPP. --- re.c | 1 + 1 file changed, 1 insertion(+) (limited to 're.c') diff --git a/re.c b/re.c index cec95dac..24522d72 100644 --- a/re.c +++ b/re.c @@ -322,6 +322,7 @@ void dfaerror(const char *s) { fatal("%s", s); + exit(EXIT_FATAL); /* for DJGPP */ } /* re_update --- recompile a dynamic regexp */ -- cgit v1.2.3 From 2ce7559261a641c222eecf7bc2718e0832613d14 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 28 Mar 2012 21:58:12 +0200 Subject: Update copyrights where needed. --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 're.c') diff --git a/re.c b/re.c index 24522d72..1144ec7f 100644 --- a/re.c +++ b/re.c @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1991-2011 the Free Software Foundation, Inc. + * Copyright (C) 1991-2012 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. -- cgit v1.2.3 From 19a22c41661c3b032c9cdcfd6913373526c025c8 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 29 Mar 2012 21:32:53 +0200 Subject: Sync dfa with grep. Update configure machinery. --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 're.c') diff --git a/re.c b/re.c index 1144ec7f..9be46d96 100644 --- a/re.c +++ b/re.c @@ -268,7 +268,7 @@ research(Regexp *rp, char *str, int start, */ if (rp->dfa && ! no_bol && ! need_start) { char save; - int count = 0; + size_t count = 0; /* * dfa likes to stick a '\n' right after the matched * text. So we just save and restore the character. -- cgit v1.2.3