* [9fans] rio
@ 2000-11-22 6:01 rob pike
2000-11-22 6:21 ` [9fans] pdp8 lives!! George Michaelson
0 siblings, 1 reply; 5+ 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] 5+ messages in thread
* Re: [9fans] troff in plan9port with a problem in tr2post
@ 2006-04-28 16:36 Russ Cox
2006-04-28 16:46 ` [9fans] rio Sha0lin
0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2006-04-28 16:36 UTC (permalink / raw)
To: 9fans
> troff -man /usr/plan9/man/man1/tr2post.1 | tr2post | psfonts
Run
9 troff -man /usr/plan9/man/man1/tr2post.1 | tr2post | psfonts
to avoid invoking the Unix troff on your system.
Russ
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] rio
@ 2000-07-30 14:53 rob pike
0 siblings, 0 replies; 5+ messages in thread
From: rob pike @ 2000-07-30 14:53 UTC (permalink / raw)
To: 9fans
Stupid bug introduced in rio, caused by our attempts to clean up
uses of %.*s. /sys/src/cmd/rio/xfid.c:508 is missing an argument.
diff /n/dump/2000/0730/sys/src/cmd/rio/xfid.c xfid.c
508c508
< sprint(p, "%s/%.*s", w->dir, utfnlen(x->data, cnt));
---
> sprint(p, "%s/%.*s", w->dir, utfnlen(x->data, cnt), x->data);
The distributed binary is OK, but if you build from the unfixed
source all hell will break loose.
Mea culpa. The compiler warns you and in all the furious building
I missed the warning.
-rob
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-29 13:26 UTC | newest]
Thread overview: 5+ 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
-- strict thread matches above, loose matches on Subject: below --
2006-04-28 16:36 [9fans] troff in plan9port with a problem in tr2post Russ Cox
2006-04-28 16:46 ` [9fans] rio Sha0lin
2006-04-29 13:26 ` Sergey Zhilkin
2000-07-30 14:53 rob pike
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).