diff options
author | Strake <strake888@gmail.com> | 2013-07-27 00:50:29 -0500 |
---|---|---|
committer | Strake <strake888@gmail.com> | 2013-07-27 00:50:29 -0500 |
commit | 5335d807defb4cd9e61498c61a8d2ca0f73bb916 (patch) | |
tree | 6f24198fbd78e04e9763d296f25db10306cace96 /toys/pending | |
parent | 0dbd779b58602d7eaded0bd02399daf62adc0fd4 (diff) | |
download | toybox-5335d807defb4cd9e61498c61a8d2ca0f73bb916.tar.gz |
grep: s/astrcat/x&/g
Diffstat (limited to 'toys/pending')
-rw-r--r-- | toys/pending/grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/grep.c b/toys/pending/grep.c index 6f69bdee..ae38988f 100644 --- a/toys/pending/grep.c +++ b/toys/pending/grep.c @@ -107,8 +107,8 @@ char *regfix (char *re_xs) { void addRE (char *x) { if (toys.optflags & FLAG_F) x = regfix (x); - if (TT.re_xs) TT.re_xs = astrcat (TT.re_xs, "|"); - TT.re_xs = astrcat (TT.re_xs, x); + if (TT.re_xs) TT.re_xs = xastrcat (TT.re_xs, "|"); + TT.re_xs = xastrcat (TT.re_xs, x); if (toys.optflags & FLAG_F) free (x); } |