Revert r348518
It should not have happened. The change is actually in upstream and I misread the diffs.
This commit is contained in:
parent
2675e1b91d
commit
adb46ac4c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348519
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user