From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by archone.tamu.edu id <19042>; Mon, 30 Sep 1991 09:08:49 -0500 From: Byron Rakitzis To: malte@techfak.uni-bielefeld.de, rc Subject: Re: shift, for, return values and getopts Message-Id: <91Sep30.090849cdt.19042@archone.tamu.edu> Date: Mon, 30 Sep 1991 09:08:35 -0500 ouch, that is a bug in the shell. unfortunately, when you do for (i in $var) $var's value does not get copied into a temporary space if $var is overwritten in the body of the loop. Nothing gets re-evaluated, but there are pointers pointing into outer space in a loop like that. The fix is not difficult, but spans three source files (I just fixed the bug). I don't know how the list feels about this, but there are maybe 2 or 3 bugs in rc-1.2 that I've heard of so far. I don't know how important it is to release patches, etc. etc., seeing as I've never done this sort of thing before. I was hoping that rc-1.2 would be definitive, i.e., any further changes to the shell would be just bug fixes. How do I go about scheduling fixes like that?