ql: various minor fixes [rsc] --rw-rw-r-- M 1942060 glenda sys 5936 Feb 28 11:41 sys/src/cmd/ql/l.h /n/sourcesdump/2006/0228/plan9/sys/src/cmd/ql/l.h:88,94 - /n/sourcesdump/2006/0301/plan9/sys/src/cmd/ql/l.h:88,94 { Optab* start; Optab* stop; - } oprange[AEND]; + } oprange[ALAST]; enum { [rsc] --rw-rw-r-- M 1942060 glenda sys 5663 Feb 28 11:41 sys/src/cmd/ql/list.c /n/sourcesdump/2006/0228/plan9/sys/src/cmd/ql/list.c:64,70 - /n/sourcesdump/2006/0301/plan9/sys/src/cmd/ql/list.c:64,70 a = va_arg(fp->args, int); s = "???"; - if(a >= AXXX && a <= AEND) + if(a >= AXXX && a < ALAST) s = anames[a]; return fmtstrcpy(fp, s); } [rsc] --rw-rw-r-- M 1942060 glenda sys 25389 Feb 28 11:41 sys/src/cmd/ql/obj.c /n/sourcesdump/2006/0228/plan9/sys/src/cmd/ql/obj.c:1102,1109 - /n/sourcesdump/2006/0301/plan9/sys/src/cmd/ql/obj.c:1102,1116 gethunk(void) { char *h; + long nh; - h = mysbrk((int)NHUNK); + nh = NHUNK; + if(tothunk >= 5L*NHUNK) { + nh = 5L*NHUNK; + if(tothunk >= 25L*NHUNK) + nh = 25L*NHUNK; + } + h = mysbrk(nh); if(h == (char *)-1) { diag("out of memory"); errorexit(); /n/sourcesdump/2006/0228/plan9/sys/src/cmd/ql/obj.c:1110,1117 - /n/sourcesdump/2006/0301/plan9/sys/src/cmd/ql/obj.c:1117,1124 } hunk = h; - nhunk = NHUNK; - tothunk += NHUNK; + nhunk = nh; + tothunk += nh; } void 32vfs: remove unused buffer [rsc] --rw-rw-r-- M 1942060 glenda sys 3899 Feb 28 11:42 sys/src/cmd/tapefs/32vfs.c /n/sourcesdump/2006/0228/plan9/sys/src/cmd/tapefs/32vfs.c:52,58 - /n/sourcesdump/2006/0301/plan9/sys/src/cmd/tapefs/32vfs.c:52,57 populate(char *name) { Fileinf f; - uchar buf[MAXBLSIZE]; BLSIZE = 512; /* 32v */ if(blocksize){ trace(1): make more like a Plan 9 man page [rsc] --rw-rw-r-- M 1942060 presotto sys 1497 Feb 28 12:17 sys/man/1/trace [diffs elided - too long] [diff -c /n/sourcesdump/2006/0228/plan9/sys/man/1/trace /n/sourcesdump/2006/0301/plan9/sys/man/1/trace]