summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/b.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2010-01-09 23:19:01 +0000
committerru <ru@FreeBSD.org>2010-01-09 23:19:01 +0000
commit56d4794e7235f69c1e7230e6b905785d8a053e40 (patch)
tree18d3f95433c9b0fe4842e4b5896976cc6aea9ec3 /contrib/one-true-awk/b.c
parente1c64beebc41d28b21e9e6b120a7a361bd6acd52 (diff)
downloadFreeBSD-src-56d4794e7235f69c1e7230e6b905785d8a053e40.zip
FreeBSD-src-56d4794e7235f69c1e7230e6b905785d8a053e40.tar.gz
Update to a 26-Nov-2009 release.
Diffstat (limited to 'contrib/one-true-awk/b.c')
-rw-r--r--contrib/one-true-awk/b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/one-true-awk/b.c b/contrib/one-true-awk/b.c
index 0d91f23..4c6d61b 100644
--- a/contrib/one-true-awk/b.c
+++ b/contrib/one-true-awk/b.c
@@ -731,6 +731,7 @@ Node *unary(Node *np)
* to nelson beebe for the suggestion; let's see if it works everywhere.
*/
+/* #define HAS_ISBLANK */
#ifndef HAS_ISBLANK
int (isblank)(int c)
@@ -876,7 +877,7 @@ int cgoto(fa *f, int s, int c)
if (q[j] >= maxsetvec) {
maxsetvec *= 4;
setvec = (int *) realloc(setvec, maxsetvec * sizeof(int));
- tmpset = (int *) realloc(setvec, maxsetvec * sizeof(int));
+ tmpset = (int *) realloc(tmpset, maxsetvec * sizeof(int));
if (setvec == 0 || tmpset == 0)
overflo("cgoto overflow");
}
OpenPOWER on IntegriCloud