diff options
author | dgp <dgp@users.sourceforge.net> | 2001-09-24 22:14:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-09-24 22:14:38 (GMT) |
commit | 8fa92e5eb08f440c8993da8965ab7e0e17b173b8 (patch) | |
tree | cd2ae730fd80cf1196dcf4ccf92909fbe5eeac47 /generic/tkMain.c | |
parent | cda9d85e8ed19fceded9d78a243955ef972b57f8 (diff) | |
download | tk-8fa92e5eb08f440c8993da8965ab7e0e17b173b8.zip tk-8fa92e5eb08f440c8993da8965ab7e0e17b173b8.tar.gz tk-8fa92e5eb08f440c8993da8965ab7e0e17b173b8.tar.bz2 |
Update to handle change in
return type of Tcl_DStringAppend() from (char *) to (CONST char *).
[TIP 27]
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r-- | generic/tkMain.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index 6145d20..42d31f1 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMain.c,v 1.8 2000/04/25 17:25:27 ericm Exp $ + * RCS: @(#) $Id: tkMain.c,v 1.9 2001/09/24 22:14:38 dgp Exp $ */ #include <ctype.h> @@ -332,7 +332,8 @@ StdinProc(clientData, mask) (void) Tcl_DStringAppend(&tsdPtr->command, Tcl_DStringValue( &tsdPtr->line), -1); - cmd = Tcl_DStringAppend(&tsdPtr->command, "\n", -1); + Tcl_DStringAppend(&tsdPtr->command, "\n", -1); + cmd = Tcl_DStringValue(&tsdPtr->command); Tcl_DStringFree(&tsdPtr->line); if (!Tcl_CommandComplete(cmd)) { gotPartial = 1; |