aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-03 21:00:43 +0000
commitd8cf793135eac928e653eb5178894a611aa27837 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /findutils/grep.c
parent63adc7384791548741e3a2afbee1be40d99fe9d2 (diff)
downloadbusybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.gz
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.tar.bz2
busybox-w32-d8cf793135eac928e653eb5178894a611aa27837.zip
bb_applet_name -> applet_name
git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 35e6aff2d..ce975e771 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -356,14 +356,14 @@ int grep_main(int argc, char **argv)
356 if (opt & GREP_OPT_f) 356 if (opt & GREP_OPT_f)
357 load_regexes_from_file(fopt); 357 load_regexes_from_file(fopt);
358 358
359 if (ENABLE_FEATURE_GREP_FGREP_ALIAS && bb_applet_name[0] == 'f') 359 if (ENABLE_FEATURE_GREP_FGREP_ALIAS && applet_name[0] == 'f')
360 opt |= GREP_OPT_F; 360 opt |= GREP_OPT_F;
361 361
362 if (!(opt & GREP_OPT_o)) 362 if (!(opt & GREP_OPT_o))
363 reflags = REG_NOSUB; 363 reflags = REG_NOSUB;
364 364
365 if (ENABLE_FEATURE_GREP_EGREP_ALIAS && 365 if (ENABLE_FEATURE_GREP_EGREP_ALIAS &&
366 (bb_applet_name[0] == 'e' || (opt & GREP_OPT_E))) 366 (applet_name[0] == 'e' || (opt & GREP_OPT_E)))
367 reflags |= REG_EXTENDED; 367 reflags |= REG_EXTENDED;
368 368
369 if (opt & GREP_OPT_i) 369 if (opt & GREP_OPT_i)