Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-01-05 | acme, sam, samterm: remove weird switch usage | Russ Cox | 1 | -1/+1 | |
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. | |||||
2010-07-14 | acme, sam: fix regexp code for bigger Runemax | Russ Cox | 1 | -24/+26 | |
R=r http://codereview.appspot.com/1765042 | |||||
2009-09-11 | convert to 4-byte UTF-8 and 32-bit Rune | Russ Cox | 1 | -2/+2 | |
http://codereview.appspot.com/116075 | |||||
2008-01-30 | sam: fix regexp match choice bug | Russ Cox | 1 | -1/+1 | |
2007-12-07 | sam: revert regexp fix | Russ Cox | 1 | -59/+49 | |
2007-12-07 | sam: regexp fix (see libregexp change) | Russ Cox | 1 | -49/+59 | |
2007-06-09 | better fix | rsc | 1 | -14/+15 | |
2007-06-09 | day one bug in sam regexp code | rsc | 1 | -1/+1 | |
2003-09-30 | Reorg | rsc | 1 | -2/+2 | |
2003-09-30 | Initial revision | rsc | 1 | -0/+801 | |