]> git.pld-linux.org Git - packages/gawk.git/blob - gawk-3.1.5-numflags.patch
- patches from fedora
[packages/gawk.git] / gawk-3.1.5-numflags.patch
1 Tue Jul  4 22:43:05 2006  Arnold D. Robbins  <arnold@skeeve.com>
2
3     * eval.c (interpret): Node_assign_concat case: Turn off NUMBER and NUMCUR
4     flags in result.  Sheesh. Thanks to <Heiner.Marxen@DrB.Insel.DE> for finding
5     the problem.
6
7 --- gawk-3.1.5/eval.c.numflags  2006-07-10 09:36:26.000000000 +0200
8 +++ gawk-3.1.5/eval.c   2006-07-10 09:36:41.000000000 +0200
9 @@ -1193,6 +1193,7 @@
10                         unref(*lhs);
11                         *lhs = make_str_node(nval, l->stlen + r->stlen, ALREADY_MALLOCED);
12                 }
13 +               (*lhs)->flags &= ~(NUMCUR|NUMBER);
14                 free_temp(r);
15  
16                 if (after_assign)
This page took 0.028357 seconds and 3 git commands to generate.