Menu

#95 xmaxima TCL script redefines 'apply'

None
accepted
None
5
2020-06-15
2020-06-14
No

As of Tcl 8.5, 'apply' is a procedure defined by Tcl. However, the xmaxima Tcl script defines its own
'apply' proc that conflicts (especially as it has different semantics). This can cause errors to be
shown when xmaxima starts. For instance, tdbc 1.1.1 (included with Tcl 8.6) uses 'apply' in its
pkgIndex.tcl, and so that package index file fails to load (and tclsh writes out an error message).

Renaming 'apply' to 'mxapply' resolves this problem.

1 Attachments

Discussion

  • Jaime E. Villate

    I have applied your patch. Thank you very much for your contribution.

     
  • Jaime E. Villate

    • status: open --> accepted
    • assigned_to: Jaime E. Villate
    • Group: -->
     

Log in to post a comment.