Commits
- Commit:
36cd4c58c1346375b98f517fb8568be5bb47618d
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
man9: rename IM to MR
Commit d32deab17bfffa5bffc5fab3e6577558e40888c5 renamed IM to MR but
these man pages were missed.
- Commit:
0144f87dc6c7f2f6becbd55519e433a9b36a466f
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
htmlroff: fix array bounds
- Commit:
4e6bb208eb96baae65fd6b1bf99aaa1115b9a9ba
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
eqn: enlarge errbuf to account for large tokens
- Commit:
20c14efad6487b0a09ecd661680321afa240bc0b
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
xd: fix swizz8 loop counting
- Commit:
4056d6be4d0fca6fc5e6ccfd24ff4785db9fec15
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libhtml: fix array bounds in lex
- Commit:
52b599a63c488d3a80bb9f5dd97bad0b10103c54
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libthread: call setpgrp in programs that will background
This fixes the 'run stats from rc; exit rc; stats dies' problem.
It's unclear whether this is the right fix or whether rc should
be starting all its interactive commands in their own process
groups. But at least it does fix stats dying.
- Commit:
3ccd61629b641613bcccbc51125330efab9c89a7
- From:
- Russ Cox <rsc@swtch.com>
- Date:
sam: avoid out-of-bounds read in rterm
Usually r->nused < r->nalloc and the read is in bounds.
But it could in theory be right on the line and reading
past the end of the allocation.
Make it safe but preserve as much of the old semantics
as possible. This use of rterm appears to be only for
optimization purposes so the result does not matter
for correctness.
- Commit:
6a80119eb509bd948d87ad1b84b0a82855a3c691
- From:
- Russ Cox <rsc@swtch.com>
- Date:
sam: remove backward ?:
The exit code here is ignored anyway.
- Commit:
c3ae85a004c8714fc653629a983327d9a15b36da
- From:
- Russ Cox <rsc@swtch.com>
- Date:
rc: do not exit on EINTR from read
This happens if lldb attaches to rc.
- Commit:
0cc1faf015a253ef64b97a8453b6fc959c0ee512
- From:
- Russ Cox <rsc@swtch.com>
- Date:
lib9: reject postnote with special pids
- Commit:
fdcf3d70c24886dddb5fd7052dfada67d33d5c75
- From:
- Russ Cox <rsc@swtch.com>
- Date:
auxstats: do not postnote 0
- Commit:
1c845e0bd5ff897dc5e90f2c24db4ecd81a8f60c
- From:
- Russ Cox <rsc@swtch.com>
- Date:
acme, sam, samterm: remove weird switch usage
For whatever reason all three of these programs
contain switches like:
switch(x) {
case 1:
if(cond)
case 2:
f();
}
Like Duff's device, this is legal C but more obscure
than it really needs to be.
This commit assumes those are intended as written
and simply writes them more clearly. I did consider
that maybe they are mistakes, but in the case of sam/regexp.c,
my rewrite in this commit matches the acme/regx.c that
has been in plan9port since I added acme in 2003.
(I didn't bother to dig up the old Plan 9 releases.)
Assuming acme/regx.c has been correct for the past
two decades, this commit should be correct too.
- Commit:
0a513e65607223d11ba94003256b13ef5779e7e8
- From:
- Russ Cox <rsc@swtch.com>
- Date:
sam: rm dregs
- Commit:
7f6458b045e04b97dd06b3171ac67e9ecde32429
- From:
- Russ Cox <rsc@swtch.com>
- Date:
stats: add threadmaybackground
- Commit:
ac487c754e009b0f3c01c2a8ad5bda2143da4a6b
- From:
- Russ Cox <rsc@swtch.com>
- Date:
acme: allow @ in file names
For upspin and other tools that put email addresses in names.