Author: imp Date: Sun Jun 2 20:52:21 2019 New Revision: 348519 URL: https://svnweb.freebsd.org/changeset/base/348519
Log: Revert r348518 It should not have happened. The change is actually in upstream and I misread the diffs. Modified: head/contrib/one-true-awk/tran.c Modified: head/contrib/one-true-awk/tran.c ============================================================================== --- head/contrib/one-true-awk/tran.c Sun Jun 2 20:47:15 2019 (r348518) +++ head/contrib/one-true-awk/tran.c Sun Jun 2 20:52:21 2019 (r348519) @@ -366,7 +366,7 @@ char *setsval(Cell *vp, const char *s) /* set string v 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); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"