]> git.pld-linux.org Git - packages/gawk.git/blame - gawk-3.1.5-binmode.patch
- patches from fedora
[packages/gawk.git] / gawk-3.1.5-binmode.patch
CommitLineData
fc8c9395 1
2 * eval.c (set_BINMODE): Fix logic of test for no numeric value.
3 Makes `gawk -v BINMODE=1 ...' work again. Thanks to Eli Zaretskii
4 <eliz@gnu.org> for pointing out the problem.
5
6--- gawk-3.1.5/eval.c.binmode 2005-12-22 19:05:32.000000000 +0100
7+++ gawk-3.1.5/eval.c 2005-12-22 19:06:40.000000000 +0100
8@@ -2167,7 +2167,7 @@
9 }
10 }
11
12- if (! digits || (BINMODE_node->var_value->flags & MAYBE_NUM) == 0) {
13+ if (! digits && (BINMODE_node->var_value->flags & MAYBE_NUM) == 0) {
14 BINMODE = 0;
15 if (strcmp(p, "r") == 0)
16 BINMODE = 1;
This page took 0.068176 seconds and 4 git commands to generate.