diff options
| author | Russ Cox <russcox@gmail.com> | 2009-09-11 17:03:06 -0400 |
|---|---|---|
| committer | Russ Cox <russcox@gmail.com> | 2009-09-11 17:03:06 -0400 |
| commit | 0cadb4301d18724e7513d7489cb5bebd262c82f1 (patch) | |
| tree | 48209a4083885288eaa09178d4017769897107b3 /src/cmd/sam/cmd.c | |
| parent | 4dbf255619efac4f0a00e4216d6c999128910df2 (diff) | |
| download | plan9port-0cadb4301d18724e7513d7489cb5bebd262c82f1.tar.gz plan9port-0cadb4301d18724e7513d7489cb5bebd262c82f1.zip | |
convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
Diffstat (limited to 'src/cmd/sam/cmd.c')
| -rw-r--r-- | src/cmd/sam/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/cmd.c b/src/cmd/sam/cmd.c index cdf00b9b..12510689 100644 --- a/src/cmd/sam/cmd.c +++ b/src/cmd/sam/cmd.c @@ -71,7 +71,7 @@ int inputc(void) { int n, nbuf; - char buf[3]; + char buf[UTFmax]; Rune r; Again: |
