]> git.pld-linux.org Git - packages/gawk.git/blame - gawk-zero_flag.patch
- use ${TEMDIR:-/tmp} instead /tmp in base directory name for temporary files.
[packages/gawk.git] / gawk-zero_flag.patch
CommitLineData
70c35294 1--- builtin.c
2+++ builtin.c 1999/09/27 16:04:29
3@@ -460,7 +460,13 @@
4 break;
5
6 case '0':
7- zero_flag = TRUE;
8+ /*
9+ * Only turn on zero_flag if we haven't seen
10+ * the field width or precision yet. Otherwise,
11+ * screws up floating point formatting.
12+ */
13+ if (cur == & fw && fw == 0)
14+ zero_flag = TRUE;
15 if (lj)
16 goto retry;
17 /* FALL through */
This page took 0.057033 seconds and 4 git commands to generate.