aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-03-08 02:08:10 +0100
committerDuncaen <mail@duncano.de>2017-03-08 12:07:05 +0100
commitd3c4a552a6e21ac338e9fdebe2b4602f3de0d119 (patch)
tree761d86f9f0d794c2e374dc984e24a0cb3c78a4d3
parent287009f8e2cfa312ff99cc7be1bfb9b5b5906b7f (diff)
downloadlobase-d3c4a552a6e21ac338e9fdebe2b4602f3de0d119.tar.gz
usr.bin/grep: just use REG_STARTEND from the imported regex(3)
-rw-r--r--usr.bin/grep/grep.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index bdb087b..6daa9d9 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -44,12 +44,7 @@
/* Flags passed to regcomp() and regexec() */
int cflags;
-#if 0
-/* XXX: PORT: does this work? */
int eflags = REG_STARTEND;
-#else
-int eflags;
-#endif
int matchall; /* shortcut */
int patterns, pattern_sz;