--- agrep.h.orig 1992-01-18 06:15:13.000000000 +1100
+++ agrep.h 2012-09-22 17:00:23.000000000 +1000
-extern unsigned char *strcpy(), *strncpy(), *strcat();
#define CHAR unsigned char
--- compat.c.orig 2012-09-22 17:07:23.000000000 +1000
+++ compat.c 2012-09-22 17:11:54.000000000 +1000
/* test the conflicts between options */
extern int FILENAMEONLY, APPROX, PAT_FILE, COUNT, INVERSE, BESTMATCH;
@@ -16,7 +17,7 @@ compat()
if(BESTMATCH) if(COUNT || FILENAMEONLY || APPROX || PAT_FILE) {
- fprintf(stderr, "WARNING!!! -B option ignored when -c, -l, -f, or -# is on\n", Progname);
+ fprintf(stderr, "WARNING!!! -B option ignored when -c, -l, -f, or -# is on\n");
--- follow.c.orig 1992-01-18 06:14:42.000000000 +1100
+++ follow.c 2012-09-22 17:21:26.000000000 +1000
-extern char *strncpy(), *strcat(), *strcpy();
extern Pset pset_union();
--- parse.c.orig 1992-01-18 06:14:43.000000000 +1100
+++ parse.c 2012-09-22 17:52:04.000000000 +1000
tree for that regular expression. */
--- sgrep.c.orig 2012-09-22 18:40:26.000000000 +1000
+++ sgrep.c 2012-09-22 18:42:06.000000000 +1000
/* Copyright (c) 1991 Sun Wu and Udi Manber. All Rights Reserved. */
#define CHARTYPE unsigned char
--- utilities.c.orig 1992-01-18 06:14:43.000000000 +1100
+++ utilities.c 2012-09-22 19:09:47.000000000 +1000
and manipulating regular expression syntax trees. */
/************************************************************************/
--- mgrep.c.orig 2012-09-22 19:17:16.000000000 +1000
+++ mgrep.c 2012-09-22 19:19:21.000000000 +1000
/* multipattern matcher */