9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] rio
@ 2000-11-22  6:01 rob pike
  2000-11-22  6:21 ` [9fans] pdp8 lives!! George Michaelson
  0 siblings, 1 reply; 2+ messages in thread
From: rob pike @ 2000-11-22  6:01 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-22  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-22  6:01 [9fans] rio rob pike
2000-11-22  6:21 ` [9fans] pdp8 lives!! George Michaelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).