Edit

IABSD.fr/ports/lang/expect

Branch :

  • Show log

    Commit

  • Author : tb
    Date : 2026-05-28 01:20:00
    Hash : e42902a6
    Message : expect: set channel type to TCL_CHANNEL_VERSION_2 for llvm22 Avoid passing the ExpBlockModeProc function pointer through an object pointer type and instead move it to the proper place in the struct. Setting the channel version of expChannelType to 2 in the version field tells tcl's Tcl_ChannelBlockModeProc() to use the function pointer directly, and avoids undefined behavior. Using TCL_CHANNEL_VERSION_2 is the conservative choice, although version 5 would also work. discussed with stu tested/ok jca