summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>1998-11-10 02:25:51 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>1998-11-10 02:25:51 +0000
commit2add1364618952ce03fca91e201aa78029820348 (patch)
tree7823a1543c78d73a596db76e7e6e5d5a91c03be9 /ChangeLog
parenta0927489726a8243f4bbfb98d8a7583a34a675a2 (diff)
downloadgrep-2add1364618952ce03fca91e201aa78029820348.tar.gz
add entries.
Specify default matcher with default_matcher extern var, not DEFAULT_MATCHER macro. This is more straightforward and means we need to compile grep.c just once. * src/egrepmat.c, src/fgrepmat.c, src/grepmat.c: New files. * src/Makefile.am (base_sources): New macro. (egrep_SOURCES, fgrep_SOURCES, grep_SOURCES): Now consist of $(base_sources) plus the single tailoring file. (grep_LDADD, egrep_LDADD, fgrep_LDADD): Remove. (EXTRA_DIST): Remove grep.c, regex.c. (fgrep.o, egrep.o): Remove. * src/grep.h (matcher): Now char const *. (default_matcher): New decl. * src/grep.c (matcher): Now char const *. (setmatcher): Now accepts char const *. (main): Default the matcher from default_matcher (linked externally) rather than DEFAULT_MATCHER (a macro).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fd85ee9e..aa6b66cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,27 @@
* src/grep.c (main): Update copyright.
+ Specify default matcher with default_matcher extern var, not
+ DEFAULT_MATCHER macro. This is more straightforward and means
+ we need to compile grep.c just once.
+
+ * src/egrepmat.c, src/fgrepmat.c, src/grepmat.c: New files.
+
+ * src/Makefile.am (base_sources): New macro.
+ (egrep_SOURCES, fgrep_SOURCES, grep_SOURCES): Now consist of
+ $(base_sources) plus the single tailoring file.
+ (grep_LDADD, egrep_LDADD, fgrep_LDADD): Remove.
+ (EXTRA_DIST): Remove grep.c, regex.c.
+ (fgrep.o, egrep.o): Remove.
+
+ * src/grep.h (matcher): Now char const *.
+ (default_matcher): New decl.
+
+ * src/grep.c (matcher): Now char const *.
+ (setmatcher): Now accepts char const *.
+ (main): Default the matcher from default_matcher (linked externally)
+ rather than DEFAULT_MATCHER (a macro).
+
1998-11-08 Alain Magloire
* src/grep.1: `prep.ai.mit.edu' should be replaced with `gnu.org'.