From b957b982301d9a609929fc21be1038567731d2dd Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Thu, 1 Apr 2010 14:14:27 +0000 Subject: [PATCH] corrected the patch --- gawk-3.1.7-prec-utf8.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gawk-3.1.7-prec-utf8.patch b/gawk-3.1.7-prec-utf8.patch index 1e9e52d..ec9dffe 100644 --- a/gawk-3.1.7-prec-utf8.patch +++ b/gawk-3.1.7-prec-utf8.patch @@ -15,9 +15,9 @@ + else if (have_prec) + nchars_needed = prec; + else -+ nchars_needed = arg->stlen; ++ nchars_needed = arg->stlen; + -+ copy_count = mbc_byte_count(arg->stptr, nchars_needed); ++ copy_count = mbc_byte_count(arg->stptr, nchars_needed); } bchunk(cp, copy_count); while (fw > prec) {