30 lines
630 B
Diff
30 lines
630 B
Diff
--- exp_tty.c
|
|
+++ exp_tty.c
|
|
@@ -497,7 +497,7 @@
|
|
|
|
/* if no result, make a crude one */
|
|
if (0 == strcmp(Tcl_GetString(Tcl_GetObjResult(interp)),"")) {
|
|
- char buf [10];
|
|
+ char buf [11];
|
|
sprintf(buf,"%sraw %secho",
|
|
(was_raw?"":"-"),
|
|
(was_echo?"":"-"));
|
|
@@ -635,7 +635,7 @@
|
|
return(TCL_ERROR);
|
|
}
|
|
if (cmd_is_stty) {
|
|
- char buf [10];
|
|
+ char buf [11];
|
|
sprintf(buf,"%sraw %secho",
|
|
(was_raw?"":"-"),
|
|
(was_echo?"":"-"));
|
|
@@ -699,7 +699,7 @@
|
|
}
|
|
|
|
if (cmd_is_stty) {
|
|
- char buf [10];
|
|
+ char buf [11];
|
|
sprintf(buf,"%sraw %secho",
|
|
(was_raw?"":"-"),
|
|
(was_echo?"":"-"));
|