NetBSD/src ZgWhfvx — bin/sh var.c
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.
Version | Delta | File | |
---|---|---|---|
1.73 | +7 | -3 | bin/sh/var.c |
+7 | -3 | 1 files |