aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs
Commit message (Collapse)AuthorAgeFilesLines
* all: remove need for `-fcommon`Dan Cross2025-07-251-1/+0
| | | | | | | | | | Use `extern` where appropriate so that we can remove `-fcommon` on macOS and others. On macOS, `-fcommon` generates a number of linker warnings. I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD and illumos. I am not in a position to test on AIX or other more esoteric platforms, however.
* Trivial changes: whitespace and modes.Dan Cross2020-01-109-998/+995
| | | | | | | | | 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>
* This patch fixes unicode, unicode-be and unicode-leMichael Teichgräber2010-06-281-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
* tcs: macroman charset fixesAnthony Martin2010-06-281-5/+5
| | | | | | | | | | | 2126 -> 03a9 # greek capital letter omega 2012 -> 201c # left double quotation mark 00a4 -> 20ac # euro sign f7ff -> f8ff # apple logo R=rsc CC=codebot http://codereview.appspot.com/1233043
* tcs: update for 32-bit RuneRuss Cox2009-09-132-172/+4
| | | | http://codereview.appspot.com/117063
* avoid hang with htmlroff (Michael Teichgräber)rsc2006-10-121-1/+1
|
* avoid nonstandard entity names (Michael Teichgräber)rsc2006-10-121-8/+25
|
* forgotrsc2006-05-211-0/+309
|
* import from plan9rsc2006-05-219-62/+320
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-0112-54/+54
|
* better labelsrsc2006-02-142-5/+6
|
* Add more character sets.rsc2006-01-196-683/+1346
|
* oopsrsc2005-12-271-0/+330
|
* add EILSEQ for macrsc2005-12-264-33/+76
|
* better errno declarationsrsc2005-12-171-9/+6
|
* Fix UTF bug reported on 9fans.rsc2005-09-131-2/+3
|
* silence gccrsc2005-03-181-1/+1
|
* use plan 9 versionsrsc2005-03-092-150/+54
|
* Goodbye SHORTLIBrsc2005-01-041-1/+0
|
* Add tcs; it compiles in my world, but I haven't tried it in Russ's yet.wkj2004-04-2140-0/+10784