summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2007-04-20 02:23:30 (GMT)
committerKevin B Kenny <kennykb@acm.org>2007-04-20 02:23:30 (GMT)
commit41da80ee66a3a7325bde6e0e8e661a066a932c2b (patch)
treee0126d39453c1ccf075ec3d566184e702106c624 /generic/tclPathObj.c
parent7ea39f0edbf37288e5738891d6c8b405bf19dd34 (diff)
downloadtcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.zip
tcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.tar.gz
tcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.tar.bz2
* doc/clock.n: Corrected a silly error (transposed 'uppercase'
and 'lowercase' in clock.n. [Bug 1656002] Clarified that [clock scan] does not recognize a locale's alternative calendar. * library/clock.tcl: Corrected an error in skipping over the %Ey field on input. * library/msgs/ja.msg: * tools/loadICU.tcl: Corrected several localisation faults in the Japanese locale (most notably, incorrect dates for the Emperors' eras). [Bug 1637471]. Many thanks to SourceForge user 'nyademo' for pointing this out and developing a fix. * generic/tclPathObj.c: Corrected a 'const'ness fault that caused bitter complaints from MSVC.
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r--generic/tclPathObj.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c
index 35a6e37..174ac22 100644
--- a/generic/tclPathObj.c
+++ b/generic/tclPathObj.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPathObj.c,v 1.60 2007/04/17 14:49:53 dkf Exp $
+ * RCS: @(#) $Id: tclPathObj.c,v 1.61 2007/04/20 02:23:31 kennykb Exp $
*/
#include "tclInt.h"
@@ -1648,7 +1648,8 @@ Tcl_FSGetTranslatedStringPath(
if (transPtr != NULL) {
int len;
- const char *result, *orig;
+ const char* orig;
+ char *result;
orig = Tcl_GetStringFromObj(transPtr, &len);
result = (char *) ckalloc((unsigned)(len+1));