X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gawk-zero_flag.patch;fp=gawk-zero_flag.patch;h=0000000000000000000000000000000000000000;hb=33da4beed7927c85bd5fbed8c1498b2592348b93;hp=ff01360226030511fad54cc26b3db3272287ee36;hpb=b4e37e46158ea92e0ef2e08936ede57841f7e72b;p=packages%2Fgawk.git diff --git a/gawk-zero_flag.patch b/gawk-zero_flag.patch deleted file mode 100644 index ff01360..0000000 --- a/gawk-zero_flag.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- 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 */