aboutsummaryrefslogtreecommitdiffstats
path: root/b.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2010-01-09 23:04:24 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2010-01-09 23:04:24 +0000
commitd9859a0e4b8744c01f13cf391ee5cfbf57c5e818 (patch)
tree9c534258e481a3cc70a8d7e2e44f6726fd042d76 /b.c
parent2f77d6040739b460e8f831f9d86510505ad8ed75 (diff)
downloadsrc-d9859a0e4b8744c01f13cf391ee5cfbf57c5e818.tar.gz
src-d9859a0e4b8744c01f13cf391ee5cfbf57c5e818.zip
Vendor import of bwk's 26-Nov-2009 release.vendor/one-true-awk/20091126
Notes
Notes: svn path=/vendor/one-true-awk/dist/; revision=201945 svn path=/vendor/one-true-awk/20091126/; revision=201946; tag=vendor/one-true-awk/20091126
Diffstat (limited to 'b.c')
-rw-r--r--b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/b.c b/b.c
index 0d91f23f548c..4c6d61be9082 100644
--- a/b.c
+++ b/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");
}