]> git.pld-linux.org Git - packages/gawk.git/commitdiff
- patch from rawhide.
authorkloczek <kloczek@pld-linux.org>
Mon, 17 Apr 2000 14:56:58 +0000 (14:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gawk-zero_flag.patch -> 1.1

gawk-zero_flag.patch [new file with mode: 0644]

diff --git a/gawk-zero_flag.patch b/gawk-zero_flag.patch
new file mode 100644 (file)
index 0000000..ff01360
--- /dev/null
@@ -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 */
This page took 0.078307 seconds and 4 git commands to generate.