version 1.44, 2023/10/06 22:31:21 |
version 1.45, 2023/10/30 17:52:54 |
|
|
} |
} |
while (c < c2) { |
while (c < c2) { |
if (i >= bufsz) { |
if (i >= bufsz) { |
buf = (int *) reallocarray(buf, bufsz, sizeof(int) * 2); |
buf = (int *) reallocarray(buf, bufsz, 2 * sizeof(int)); |
if (buf == NULL) |
if (buf == NULL) |
FATAL("out of space for character class [%.10s...] 2", p); |
FATAL("out of space for character class [%.10s...] 2", p); |
bufsz *= 2; |
bufsz *= 2; |
|
|
} |
} |
} |
} |
if (i >= bufsz) { |
if (i >= bufsz) { |
buf = (int *) reallocarray(buf, bufsz, sizeof(int) * 2); |
buf = (int *) reallocarray(buf, bufsz, 2 * sizeof(int)); |
if (buf == NULL) |
if (buf == NULL) |
FATAL("out of space for character class [%.10s...] 2", p); |
FATAL("out of space for character class [%.10s...] 2", p); |
bufsz *= 2; |
bufsz *= 2; |