From: kloczek Date: Mon, 17 Apr 2000 14:56:58 +0000 (+0000) Subject: - patch from rawhide. X-Git-Tag: gawk-3_0_4-4~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgawk.git;a=commitdiff_plain;h=70c352944330b6b72aa4cf3ad444e3500bec118a - patch from rawhide. Changed files: gawk-zero_flag.patch -> 1.1 --- diff --git a/gawk-zero_flag.patch b/gawk-zero_flag.patch new file mode 100644 index 0000000..ff01360 --- /dev/null +++ b/gawk-zero_flag.patch @@ -0,0 +1,17 @@ +--- builtin.c ++++ builtin.c 1999/09/27 16:04:29 +@@ -460,7 +460,13 @@ + break; + + case '0': +- zero_flag = TRUE; ++ /* ++ * Only turn on zero_flag if we haven't seen ++ * the field width or precision yet. Otherwise, ++ * screws up floating point formatting. ++ */ ++ if (cur == & fw && fw == 0) ++ zero_flag = TRUE; + if (lj) + goto retry; + /* FALL through */