Skip to content
Tcl Source Code Artifact [b47ca5e533]
Login

Artifact [b47ca5e533]

Artifact b47ca5e533568074f84b836ca3e2724818d940e7:

Ticket change [b47ca5e533] - New ticket [577093ffffffffff|577093ffff] <i>Tcl_(FS)OpenFileChannel and &quot;rb&quot;</i>. by vincentdarley on 2002-07-03 17:51:17.
D 2002-07-03T17:51:17
J assignee andreas_kupries
J cmimetype text/plain
J comment The\sstandard\s'fopen()'\sC\sfunction\sallows\sthe\s\noptional\s"b"\smode\sspecifier\salongside\s"rwa+"\sto\s\nspecify\sthat\sthe\sfile\sto\sbe\sopened\sis\sbinary.\n\nTcl's\sTcl_(FS)OpenFileChannel\scommands\sdo\snot\s\nsupport\s"b"\sand\sthrow\san\serror\sif\sit\sis\sgiven.\s\sIt\s\nwould\sbe\squite\seasy\sto\sparse\sout\sthe\s"b"\sand\sdo\scall\s\nTcl_SetChannelOption(NULL,\schan,\s"-\ntranslation",\s"binary")\safter\sthe\schannel\sis\sopened.\n\nShould\sthis\sbe\sadded\sto\sTcl?\n\nI\sdon't\sknow\senough\sabout\sgeneric\schannels\sin\sTcl\s\nto\sknow\sif\sit\sis\spossible\sfor\sthat\saction\sto\sfail\sor\s\notherwise\scause\sproblems\s(bear\sin\smind\sthat,\swith\s\nVFS,\sthe\schannel\smay\snot\sbe\sa\sfile,\sbut\scould\sbe\sa\s\nmemchan,\sfor\sexample).\n
J foundin obsolete:\s8.4a5
J priority 5\sMedium
J resolution None
J status Open
J submitter vincentdarley
J subsystem 37.\sFile\sSystem
J title Tcl_(FS)OpenFileChannel\sand\s"rb"
J type RFE
K 577093ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 75be0b3fbb1385673c3c8180793e91a7