modern Tcl and correct quoting

Ryan Schmidt ryandesign at macports.org
Wed Jun 12 02:08:23 PDT 2013


On Jun 12, 2013, at 01:05, Poor Yorick wrote:

> macport.tcl appears to have originally been written prior to Tcl 8.5, which was
> released in 2007, and uses idioms that are now considered obsolete.  There are
> also instances where curly brackets are used in combination with variable
> interpolation to attempt to create a well-formed list value, but this is not
> robust.
> 
> The attached diff contains various changes, some of which, admittedly, are a
> question of style, but many others have a real impact on correctness and
> performance.  Changes which are not fluff include:

I have not reviewed your diff, but if it breaks compatibility with Tcl 8.4, then I would be against it, since that would break MacPorts compatibility with Tiger and Leopard which ship with Tcl 8.4.



More information about the macports-dev mailing list