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) {