summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2010-10-01 13:34:09 (GMT)
committerKevin B Kenny <kennykb@acm.org>2010-10-01 13:34:09 (GMT)
commit1b1d8617a95c45a5348cc37ec96e85dba77cff28 (patch)
tree744dee9e5f71658488ec833897ab66be3529e065 /generic/tclClock.c
parente4330954164421336f3ea7141c105f8af0281e88 (diff)
downloadtcl-1b1d8617a95c45a5348cc37ec96e85dba77cff28.zip
tcl-1b1d8617a95c45a5348cc37ec96e85dba77cff28.tar.gz
tcl-1b1d8617a95c45a5348cc37ec96e85dba77cff28.tar.bz2
merge
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 7519da8..c3914a6 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclClock.c,v 1.75 2010/03/05 14:34:03 dkf Exp $
+ * RCS: @(#) $Id: tclClock.c,v 1.75.4.1 2010/10/01 13:34:09 kennykb Exp $
*/
#include "tclInt.h"
@@ -280,8 +280,8 @@ TclClockInit(
* Install the commands.
*/
- strcpy(cmdName, "::tcl::clock::");
#define TCL_CLOCK_PREFIX_LEN 14 /* == strlen("::tcl::clock::") */
+ memcpy(cmdName, "::tcl::clock::", TCL_CLOCK_PREFIX_LEN);
for (clockCmdPtr=clockCommands ; clockCmdPtr->name!=NULL ; clockCmdPtr++) {
strcpy(cmdName + TCL_CLOCK_PREFIX_LEN, clockCmdPtr->name);
data->refCount++;