Am 11. Dezember 2019 17:32:40 MEZ schrieb Lucas Cordiviola
if (dirsym) { dirsym = pddplink_class->c_externdir; /* FIXME */ sys_vgui("source {%s/pddplink.tcl}\n", dirsym->s_name); } else { dirsym = NULL; }
this is bogus. you set dirsym to NULL if it's already NULL (the default) and to something if it already points to something.
the proper condition is: if(pddplink_class) { dirsym=... } else { dirsym=NULL; }
mfg.hft.fsl IOhannes