]> git.pld-linux.org Git - packages/gawk.git/blob - gawk-hex.patch
- updated to 0.9.5
[packages/gawk.git] / gawk-hex.patch
1 --- gawk-3.1.0/builtin.c-old    Thu Mar 14 22:11:35 2002
2 +++ gawk-3.1.0/builtin.c        Thu Mar 14 22:11:54 2002
3 @@ -2277,8 +2277,7 @@
4         short val;
5         char *start = str;
6  
7 -       if (*str == '0' && (str[1] == 'x' || str[1] == 'X')) {
8 -               assert(len > 2);
9 +       if (*str == '0' && (str[1] == 'x' || str[1] == 'X') && len > 2) {
10  
11                 for (str += 2, len -= 2; len > 0; len--, str++) {
12                         switch (*str) {
This page took 0.048214 seconds and 3 git commands to generate.