.
D 2012-04-14T21:30:33
J assignee vincentdarley
J cmimetype text/plain
J comment Hello,\n\nWhen\strying\sto\swrite\sa\sVirtual\sFile\sSystem\sextension,\sthe\sfunction\sfor\sFSAccessProc\stakes\sthe\sparameter\s"mode"\swhich\sis\ssaid\sfrom\sthe\scorresponding\sTclLib\sman\spage\sto\sbe\sa\sbit-field\swith\sthese\sconstant\sR_OK,\sW_OK,\sX_OK\sand\sF_OK.\n\nHowever,\sin\smy\scurrent\sinstallation\sof\sTCL\s(v8.5.11\sin\sLinux/debian),\sthese\sconstant\sare\snot\savailable\swith\sthe\ssimple\s<tcl.h>\sinclude.\nFurthermore,\sa\squick\ssearch\sseemed\sto\sshow\sthat\sthey\sare\sdefined\sin\s"tcl-private/unix/tclUnixPort.h",\swhich\sas\sfar\sas\sit\slooks\sis\sfor\sUnix\sflavours\sonly,\sthus\smay\sbring\scompatibility\sissues.\n\nConsequently,\sI\spropose\sto\shave\sthese\sconstants\sdefined\sin\sthe\s<tcl.h>.\sAnd\sa\squick\snote\sin\sthe\sman\spage\sto\sspecify\sthat\sF_OK\sis\sactually\s0\sand\snot\sa\sbit\sin\sthe\sfield,\sin\scase\ssomeone\swould\stry\sto\sdo\s(mode\s&\sF_OK)\sin\stheir\scode.
J foundin obsolete:\s8.5.11
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter lobotomy642
J subsystem 37.\sFile\sSystem
J title Constants\sR_OK,\sW_OK,\sX_OK\sand\sF_OK\sare\sundefined
J type Bug
K 3517838fffffffffffffffffffffffffffffffff
U lobotomy642
Z d06646781e25e51d79c72b8ae2913775