|
From: Jan N. <nij...@us...> - 2008-11-17 21:42:20
|
2008/11/17 Joe English <jen...@fl...>:
> So the return value must be a non-const char *.
> (Freeing counts as a modification.)
Agreed. The signature is wrong. I plan to fix this in Tcl 8.6, just
by removing the const. That would not cause incompatibility,
because users already were forced to fix type by type casting,
removing the 'const' only relaxes that.
Only, should this be backported to Tcl 8.5 as well? I am
inclined to answer 'Yes' to that, but how do others feel
about that?
Regards,
Jan Nijtmans
|