summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-02-22 22:36:09 (GMT)
committerdgp <dgp@noemail.net>2002-02-22 22:36:09 (GMT)
commitbf3eb1c937d54f65c1741a44b98e2cba9fcb145e (patch)
treec74a03bc9e6db6f506d4c6adb54a7b0d1ec8b618 /generic/tclObj.c
parent7ae1f662af4b5d85c2a5ee619868b92a2d94f749 (diff)
downloadtcl-bf3eb1c937d54f65c1741a44b98e2cba9fcb145e.zip
tcl-bf3eb1c937d54f65c1741a44b98e2cba9fcb145e.tar.gz
tcl-bf3eb1c937d54f65c1741a44b98e2cba9fcb145e.tar.bz2
* generic/tclInt.h:
* generic/tclObj.c: renamed global variable emptyString -> tclEmptyString because it is no longer static. * generic/tclPkg.c: Fix for panic when library is loaded on a platform without backlinking without proper use of stubs. [Bug 476537] FossilOrigin-Name: d709125ee9ada20f55720c1066af19ffb34f192a
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index c5f7f12..a2eb282 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclObj.c,v 1.29 2002/02/15 14:28:49 dkf Exp $
+ * RCS: @(#) $Id: tclObj.c,v 1.30 2002/02/22 22:36:09 dgp Exp $
*/
#include "tclInt.h"
@@ -47,8 +47,8 @@ Tcl_Mutex tclObjMutex;
* is shared by all new objects allocated by Tcl_NewObj.
*/
-static char emptyString;
-char *tclEmptyStringRep = &emptyString;
+char tclEmptyString = '\0';
+char *tclEmptyStringRep = &tclEmptyString;
/*
* Prototypes for procedures defined later in this file: