From mboxrd@z Thu Jan 1 00:00:00 1970 From: "rob pike" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 8bit Message-Id: <20001122060111.27A1B199E1@mail.cse.psu.edu> Subject: [9fans] rio Date: Wed, 22 Nov 2000 01:01:07 -0500 Topicbox-Message-UUID: 2ed95d96-eac9-11e9-9e20-41e7f4b1d025 Rookie error in rio. In /sys/src/cmd/rio/wind.c, change the line memmove(hidden+i, hidden+i+1, nhidden-i); to memmove(hidden+i, hidden+i+1, (nhidden-i)*sizeof(hidden[0])); and a stupid bug will vanish. Astonishing it's lived this long. -rob