9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] comm
@ 2004-08-04 20:04 Charles Forsyth
  0 siblings, 0 replies; only message in thread
From: Charles Forsyth @ 2004-08-04 20:04 UTC (permalink / raw)
  To: 9fans


in /sys/src/cmd/comm.c

	ldr[0] = "";
	ldr[1] = "\t";
	ldr[2] = "\t\t";
	l = 2;
	ARGBEGIN{
	case '1':
		if(!one) {
			one = 1;
			ldr[1][0] =
			ldr[2][l--] = '\0';
		}
		break;

	case '2':
		if(!two) {
			two = 1;
			ldr[2][l--] = '\0';
		}
		break;

i wondered whether l = 1; was intended; either that or --l



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-04 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 20:04 [9fans] comm Charles Forsyth

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).