From c41e8c840fd6faf802628036c7e5b2683d623c5d Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Wed, 12 Jul 2000 23:35:21 +0000 Subject: Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c (maybe I'll remove it later). --- findutils/grep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'findutils') diff --git a/findutils/grep.c b/findutils/grep.c index dec365f..77b5100 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -146,8 +146,7 @@ extern int grep_main(int argc, char **argv) reflags = REG_NOSUB | REG_NEWLINE; if (ignore_case) reflags |= REG_ICASE; - if (bb_regcomp(®ex, argv[optind], reflags) != 0) - exit(1); + xregcomp(®ex, argv[optind], reflags); /* argv[(optind+1)..(argc-1)] should be names of file to grep through. If * there is more than one file to grep, we will print the filenames */ -- cgit v1.1