From 6b0fac94b5b540742b1e77429ec272b94107fe4c Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 22 Aug 2008 18:16:44 +0000 Subject: * generic/tcl.h: Drop use of USE_COMPAT85_CONST. That added indirection without value. Use -DCONST86="" to engage source compat support for code written for 8.5 headers. --- ChangeLog | 4 ++++ generic/tcl.h | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a3a47e8..efd5390 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-08-22 Don Porter + * generic/tcl.h: Drop use of USE_COMPAT85_CONST. That added + indirection without value. Use -DCONST86="" to engage source compat + support for code written for 8.5 headers. + * generic/tclUtil.c (TclReToGlob): Added missing set of the *exactPtr value to really fix [Bug 2065115]. Also avoid possible DString overflow. diff --git a/generic/tcl.h b/generic/tcl.h index ba0d938..abde870 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -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: tcl.h,v 1.265 2008/08/21 21:35:37 dgp Exp $ + * RCS: @(#) $Id: tcl.h,v 1.266 2008/08/22 18:16:44 dgp Exp $ */ #ifndef _TCL @@ -261,9 +261,7 @@ extern "C" { # endif #endif -#ifdef USE_COMPAT85_CONST -# define CONST86 -#else +#ifndef CONST86 # define CONST86 CONST #endif -- cgit v0.12