Module Name: src
Committed By: kre
Date: Wed Dec 12 07:56:57 UTC 2018
Modified Files:
src/bin/sh: var.c
Log Message:
Fix a botch made in 1.70 (a bit over a week ago) where
var=foo; readonly var=new
now fails.
If var was already set, an attempt to make it readonly, and assign it
a new value at the same time, failed - the readonly flag was set too soon.
Pointed out by Martijn Dekker (thanks).
Also, while here, add a couple of comments.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/bin/sh/var.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.