aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs/tcs.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-28This patch fixes unicode, unicode-be and unicode-leMichael Teichgräber1-11/+21
input, and unicode output, which have been broken due to the change of the size of Rune from two bytes to four bytes. (Unicode-le and unicode-be output have not been affected, since they work different, and produce correct output as long as sizeof(Rune) >= 2.) In all of the affected functions an extra array of N elements of type u16int is used to temporarily store the 16-bit unicode data. As this increases stack usage, perhaps a different, slightly more complicated solution might be preferred, where only a single `Rune buf[N]' is used for both temporary storage and the result. R=rsc CC=codebot http://codereview.appspot.com/1574041
2006-05-21import from plan9rsc1-45/+167
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-4/+4
2006-02-14better labelsrsc1-4/+5
2006-01-19Add more character sets.rsc1-655/+29
2005-12-26add EILSEQ for macrsc1-32/+70
2005-03-09use plan 9 versionsrsc1-1/+1
2004-04-21Add tcs; it compiles in my world, but I haven't tried it in Russ's yet.wkj1-0/+1053