.
D 2009-11-07T10:21:21
J assignee vincentdarley
J cmimetype text/plain
J comment On\sWindows\sthe\spage\sfile\sc:\\pagefile.sys\sis\salways\sopen\sand\slocked.\sIn\sNativeAccess\swe\stry\susing\sGetFileAttributes\sbut\sthis\swill\sreturn\sERROR_SHARING_VIOLATION\sand\s-1,\sleading\sTcl\sto\sbelieve\sthe\sfile\sdoes\snot\sexist.\sSimilar\scode\sis\sin\sNativeStat\sfails\sfor\sthe\ssame\sreason.\sSo\swe\scannot\scurrently\stest\sfor\sthe\sexistence\sor\ssize\sor\smtime\sfor\sthis\sfile.\sHowever\sif\swe\sthen\stry\sFindFirstFile\sfor\sthe\spathname\swe\scan\sget\sthis\sinformation\seven\sthough\sthe\sfile\sis\sin\suse.\nThe\sattached\spatch\stries\sFindFirstFile\swhen\sGetFIleAttributes\sfails.\sGFA\sis\sa\sbit\sfaster\son\smy\ssystem\sthan\sFFF\sso\sI\sprefer\sto\sonly\stry\sthis\swhen\snecessary.\sI've\snot\schecked\sfor\sthe\sGetLastError()\scode\sas\swell\sas\sI\sdon't\sknow\sif\sother\serror\scodes\smight\sstill\sbe\sappropriate\sfor\scontinuing\sto\scheck\susing\sFFF.
J foundin obsolete:\s8.6b1
J is_private 0
J priority 6
J resolution None
J status Open
J submitter patthoyts
J subsystem 37.\sFile\sSystem
J title file\sstat\sfails\son\slocked\sfiles\son\swin32
J type Bug
K 2893771fffffffffffffffffffffffffffffffff
U patthoyts
Z 62d5258ac07c511790ba7d2c3c6d5387