From a0e158c7a3071d62d30766662346e256c16fd89e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 29 Nov 2003 11:10:16 +0000 Subject: [PATCH] clarify comments --- libraries/librewrite/subst.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/librewrite/subst.c b/libraries/librewrite/subst.c index 9c7421aedb..5b9437f1aa 100644 --- a/libraries/librewrite/subst.c +++ b/libraries/librewrite/subst.c @@ -389,8 +389,7 @@ rewrite_subst_apply( } /* - * Alloc result buffer as big as the constant part - * of the subst pattern and initialize it + * Alloc result buffer */ l += subst->lt_subs_len; res = malloc( l + 1 ); @@ -400,7 +399,7 @@ rewrite_subst_apply( } /* - * Apply submatches (possibly resolved thru maps + * Apply submatches (possibly resolved thru maps) */ for ( n = 0, cl = 0; n < subst->lt_num_submatch; n++ ) { if ( subst->lt_subs[ n ].bv_val != NULL ) { -- 2.39.5