]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/cmd/join.c
fix ref822 again: remove uniqarray(), fix case with many entries in 'n'.
[plan9front.git] / sys / src / cmd / join.c
index 5a527a4d4e182603fedadba418519c97bf57d5a3..4c85b0886f5d8eee264a4e0f6ebe95758e8e2ae8 100644 (file)
@@ -286,7 +286,7 @@ output(int on1, int on2)    /* print items from olist */
 {
        int i;
        Rune *temp;
-       char buf[BUFSIZ];
+       char buf[BUFSIZ*UTFmax+1];
 
        if (no <= 0) {  /* default case */
                printf("%s", runetostr(buf, on1? ppi[F1][j1]: ppi[F2][j2]));