From 5335d807defb4cd9e61498c61a8d2ca0f73bb916 Mon Sep 17 00:00:00 2001 From: Strake Date: Sat, 27 Jul 2013 00:50:29 -0500 Subject: grep: s/astrcat/x&/g --- toys/pending/grep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/pending') 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); } -- cgit v1.2.3