From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200007301453.KAA25535@cse.psu.edu> Subject: [9fans] rio From: "rob pike" Date: Sun, 30 Jul 2000 10:53:31 -0400 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: ee1b2b72-eac8-11e9-9e20-41e7f4b1d025 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