Commits
- 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:
7f6458b045e04b97dd06b3171ac67e9ecde32429
- From:
- Russ Cox <rsc@swtch.com>
- Date:
stats: add threadmaybackground
- Commit:
fa325e9b42b0bdfb48857d1958d9fb7ceac55151
- From:
- Dan Cross <cross@gajendra.net>
- Date:
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
- Commit:
0cadb4301d18724e7513d7489cb5bebd262c82f1
- From:
- Russ Cox <russcox@gmail.com>
- Date:
convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
- Commit:
2c0f3733ade43a38576aec82eced8768b42f9980
- From:
- rsc <devnull@localhost>
- Date:
64-bit fixes
- Commit:
cbeb0b26e4c7caa8d1b47de791a7418dc20a4567
- From:
- rsc <devnull@localhost>
- Date:
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
- Commit:
2e32846495d45e3a84014019d4e170b6069edc43
- From:
- rsc <devnull@localhost>
- Date:
warnings
- Commit:
522b0689c340d26feeac360640bf7e2e0582353c
- From:
- rsc <devnull@localhost>
- Date:
Reorg
- Commit:
76193d7cb0457807b2f0b95f909ab5de19480cd7
- From:
- rsc <devnull@localhost>
- Date:
Initial revision