diff options
author | obrien <obrien@FreeBSD.org> | 2007-10-25 12:38:02 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2007-10-25 12:38:02 +0000 |
commit | 1ae17d2c16c70e4c8d101a5584b014d73398c9d4 (patch) | |
tree | e10cabad03d865b2317afe548c3ff7d70d6841ff /contrib/one-true-awk/tran.c | |
parent | 8756317538371eb8709335e44bced5be817fbeec (diff) | |
parent | 9227abab1db8112427f5c46511a467cb8d6467d4 (diff) | |
download | FreeBSD-src-1ae17d2c16c70e4c8d101a5584b014d73398c9d4.zip FreeBSD-src-1ae17d2c16c70e4c8d101a5584b014d73398c9d4.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r172958,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/one-true-awk/tran.c')
-rw-r--r-- | contrib/one-true-awk/tran.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/one-true-awk/tran.c b/contrib/one-true-awk/tran.c index d8b4a47..c19ce94 100644 --- a/contrib/one-true-awk/tran.c +++ b/contrib/one-true-awk/tran.c @@ -332,10 +332,10 @@ char *setsval(Cell *vp, const char *s) /* set string val of a Cell */ donerec = 1; } t = tostring(s); /* in case it's self-assign */ - vp->tval &= ~NUM; - vp->tval |= STR; if (freeable(vp)) xfree(vp->sval); + vp->tval &= ~NUM; + vp->tval |= STR; vp->tval &= ~DONTFREE; dprintf( ("setsval %p: %s = \"%s (%p) \", t=%o r,f=%d,%d\n", vp, NN(vp->nval), t,t, vp->tval, donerec, donefld) ); |