Skip to content
Tcl Source Code Artifact [b5f065237c]
Login

Artifact [b5f065237c]

Artifact b5f065237c268c884e0f7c28143fb0cd826242c1:

Ticket change [b5f065237c] - Ticket [585178ffffffffff|585178ffff] <i>test failures for cross-compiled HEAD</i> status still Open with 5 other changes by vincentdarley on 2002-07-24 18:36:57.
D 2002-07-24T18:36:57
J assignee vincentdarley
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nOk,\sfirst\sthing\scmdAH-29.4\sdoesn't\spass.\sIt\s\nis\s'unixOnly'\sand\sso\snever\sruns.\s\sIt\scould\sbe,\stherefore,\s\nthat\sno\suse\sof\s'file\slink'\sactually\spasses\shere\sat\sall.\n\nSo,\sthe\sfirst\sthing\sto\sdetermine,\sI\sthink,\sis\swhy\sa\svery\s\nsimple\stest\slike\scmdah-29.4.1\sfails.\s\sAll\sit\sdoes\sis\screate\s\na\sdirectory\slink\sand\sthen\scheck\sthe\stype\sof\sthe\slink\sand\s\nthen\scleanup.\n\nFrom\sthe\stest\sfailure,\sit\sis\sclear\sthat\sthe\screation\sof\sthe\s\nlink\sfails,\sas\syou've\ssaid.\s\sThis\smeans\sthat\ssomething\s\ninside\sTclpObjLink\sfails\s(tclWinFile.c),\sassuming\s\nthat\s'S_IFLNK'\sis\sdefined.\s\sThis\sdefine\sshould\sbe\sforced\s\nto\strue\sin\stclWinPort.h,\sbut\sif\syou\slook\sat\sthe\s#includes\s\nin\stclWinFile.c:\n\n#include\s"tclWinInt.h"\n#include\s<winioctl.h>\n#include\s<sys/stat.h>\n#include\s<shlobj.h>\n#include\s<lmaccess.h>\n\nNow,\swhat\sif\smingw\sactually\s#undefs\sor\sotherwise\s\nmodifies\sthat\ssymbol\sin\sany\sof\sthe\s<*.h>\sfiles\s\nafterwards?\s\sThis\sis\sthe\sfirst\sthing\sto\scheck\s--\sperhaps\s\neasiest\sis\sto\sreplace\sTclpObjLink\sby\sgarbage\sand\ssee\sif\s\nthe\scompiler\snotices\sanything.\n\nAssuming\sit\sdoes\snotice\ssomething,\sthen\swe\sshould\s\ncheck\sif\sTclpObjLink\sis\sbeing\scalled.\s\sPut\sa\s'printf'\sat\sthe\s\nbeginning\sof\sthe\sfunction.\s\sAlso\sput\sa\sprintf\sto\s\noutput\s'LinkTarget'\sand\s'LinkSource'\sin\sthe\smiddle\sof\sthe\s\nfunction\sand\sre-run\sjust\stest\scmdAH-29.4.1...\n\nI\swon't\scontinue\sright\snow,\ssince\sthe\sabove\smay\salready\s\nshow\sus\swhere\sthe\sproblem\sis\s(else\swe\shave\sto\scontinue\s\ndeeper\sinto\sthe\scode...)\n\ncheers,\n\nVince.\n\n\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 585178ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 358919ef7320712ef4998779e0094614