diff options
author | Warner Losh <imp@FreeBSD.org> | 2019-06-02 20:52:21 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2019-06-02 20:52:21 +0000 |
commit | adb46ac4c0a64c2cd1fbf46022f4aafb4e605cd3 (patch) | |
tree | 467beb4ee7eccbd353ffaa17b14694d025d504b1 /contrib | |
parent | 2675e1b91dcfa744a414a42f5522f4fed958476c (diff) | |
download | src-adb46ac4c0a64c2cd1fbf46022f4aafb4e605cd3.tar.gz src-adb46ac4c0a64c2cd1fbf46022f4aafb4e605cd3.zip |
Revert r348518
It should not have happened. The change is actually in upstream and I misread the diffs.
Notes
Notes:
svn path=/head/; revision=348519
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/one-true-awk/tran.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/one-true-awk/tran.c b/contrib/one-true-awk/tran.c index 837f3742bc4f..8577a0b11d31 100644 --- a/contrib/one-true-awk/tran.c +++ b/contrib/one-true-awk/tran.c @@ -366,7 +366,7 @@ char *setsval(Cell *vp, const char *s) /* set string val of a Cell */ if (donerec == 0) recbld(); } - t = tostring(s); /* in case it's self-assign */ + t = s ? tostring(s) : tostring(""); /* in case it's self-assign */ if (freeable(vp)) xfree(vp->sval); vp->tval &= ~(NUM|CONVC|CONVO); |