.
D 2005-10-13T13:29:41
J assignee vincentdarley
J cmimetype text/plain
J comment When\ssupport\sfor\sfile\slinks\swas\sadded\sto\sTcl,\sthe\n'stat'\scommand\swas\snot\supdated\son\sWindows\sto\sadd\nunix-like\ssupport\sfor\sthe\sino\sand\snlink\sfields.\n\nHere's\sa\srelevant\semail\stranscript:\n\n\sJeff\sHobbs\s\nto\sOscar,\sme\n\sMore\soptions\s\sSep\s28\nHi\sOscar,\n\nYou\smay\swell\sbe\sright\sthat\sthe\s'file\sstat'\sstuff\swas\snot\nupdated\sto\sproperly\sreflect\sthe\sstatus\sof\shard\slinks.\s\sI\nam\scc'ing\sVince\sDarley,\sauthor\sof\sthat\sTIP\sto\scomment\son\nwhether\sthat\swas\san\soversight\sor\sintentional.\n\nRegards,\n\nJeff\n\nOscar\sBonilla\swrote:\n>\sOn\sSep\s27,\s2005,\sat\s6:16\sPM,\sJeff\sHobbs\swrote:\n>\n>\s>\sOscar\sBonilla\swrote:\n>\s>\n>\s>>\sI\swas\stalking\swith\sLarry\sabout\shard\slinks\son\nWindows\sand\show\swe\sdon't\n>\s>>\ssupport\sthem\seven\sthough\sNTFS\ssupports\sthem,\sand\nhe\sbrought\sup\sthat\n>\s>>\sActivePython\ssupports\sthem.\n>\s>>\n>\s>>\sI\swas\slooking\sat\sthe\sftp\ssite\sof\sactivestate,\sand\nit\sseems\sthe\snewest\n>\s>>\ssource\sis\sfor\sversion\s2.3.1\sfrom\sNov\s2003.\sDo\syou\nknow\swhere\sI\scould\n>\s>>\sget\sthe\slatest\ssource?\n>\s>>\n>\s>>\sOr\sbetter\syet,\sdo\syou\sknow\show\sthey\simplemented\nthe\sstat(2)\ssyscall\n>\s>>\s(in\sterms\sof\swhich\swin32\sAPIs)?\sDoes\sTcl\shandle\sthis?\n>\s>>\n>\s>\n>\s>\sTcl\ssupports\shard\slinks\sas\swell:\n>\s>\n>\s>\nhttp://aspn.activestate.com/ASPN/docs/ActiveTcl/tcl/TclCmd/\n>\s>\sfile.htm#M20\n>\n>\sWell,\sunless\sI'm\sreading\n>\nhttp://cvs.sourceforge.net/viewcvs.py/tcl/tcl/win/tclWinFile.c?\n>\srev=1.77&view=auto\n>\sincorrectly,\s'file\sstat'\salways\sreturns\sst_ino\s=\s0\nand\sst_nlink\s=\s1\n>\son\sWindows.\n>\n>\sSo\seven\sthough\syou\scan\screate\shard\slinks,\syou\scan't\ntell\sif\sa\sfile\sis\n>\shard\slinked\sto\sanother\sor\sif\sit\shas\smore\sthan\sone\nlink.\sRight?\n>\n>\sCygwin\sseems\sto\sget\saway\swith\susing\snFileIndexHigh\s|\nnFileIndexLow\n>\sfor\sthe\sinode\sand\syou\scan\sget\sthe\sreal\shard\slink\ncount\sfrom\n>\sGetFileInformationByHandle()\sin\sthe\snNumberOfLinks\sfield.\n>\n>\s>\sYou\swould\sget\sthe\slatest\spython\sfrom\sSourceForge.\n>\n>\sI\scouldn't\sfind\sthe\shard\slink\sstuff\sthere...\sTcl\nsource\sseems\smore\n>\sorganized\s;-)\n>\n>\sRegards,\n>\n>\s-Oscar\n\n\n\s\sReplyReply\sto\sallForwardInvite\sJeff\sto\sGmail\n\n\nVince\sDarley\s\nto\sJeff,\sOscar\n\sMore\soptions\s\sSep\s28\nOscar,\n\nIndeed\s'ino'\sand\s'nlink'\swere\snot\supdated\swhen\sI\sadded\nsupport\sfor\nhard\slinks\sto\sTcl.\sThis\swas\ssimply\san\soversight\sdue\sto\nmy\slack\sof\suse\nof\sthese\sfields\s(and\sit\swould\sseem\smost\speople's\slack\nof\suse\sof\sthem,\ngiven\syours\sis\sthe\sfirst\sbug\sreport\son\sthis!).\sIt\swould\nbe\sgood\sto\nmake\sthese\sas\ssimilar\sas\spossible\sto\stheir\sUnix\ninterpretations.\n\nCan\syou\sperhaps\sprovide\sa\spatch\sand/or\snew\stests\sfor\nthe\stest\ssuite?\n\n
J foundin obsolete:\s8.5a4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 37.\sFile\sSystem
J title stat\sino,\snlink\sfields\snot\sset
J type Bug
K 1325803fffffffffffffffffffffffffffffffff
U nobody
Z 54145b7584de574447209d025663608d