.
D 2003-05-12T08:24:36
J assignee nobody
J cmimetype text/plain
J comment DJGPP\srequires\sspecial\sflag\sO_BINARY\sin\sorder\sto\snot\nterminate\nreading\sof\sfile\supon\sencounder\sof\sEOF\scharacter\s(\\x1F)\n\nThere\sis\sno\sprovision\sfor\sthis\sflag\sin\stclUnixChan.c\n\nSo,\s\sregardless\sof\sconfiguration\soption,\s\s-eofchar\n(which\sseems\sto\s\nnot\sbe\shandled\sby\sDJGPP\sport\sat\sall)\sfile\sreading\sis\ntermintated\nupon\sfirst\s\\x1F\scharacter.\n\nIt\sis\spossible\showever\sto\sseek\safter\soffending\ncharacter\sand\sread\nrest\sof\sfile.\n\nTcl\scommands\sopen/read\sand\sfile\scopy\sare\saffected\n\nFollowing\spatch\sfixes\sthis\sproblem\sin\squick\sand\sdirty\nway,\sadding\nO_BINARY\sto\severy\sopen\scall\sin\shope\sthat\supper\slevels\nof\sTcl\nchannel\scode\swould\sdeal\swith\seol\sissues.\n\nIt\sseems\sthat\sfor\sproper\sfilesystem\shandling\sDJGPP\nenvironment\nshouldn't\sbe\streated\sas\s"Yet\sanother\sUnix",\sbecause\nmost\sof\sDOS\sfilesystem\sissues\sare\srather\sWindows-like.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter vbwagner
J subsystem 95.\scontrib\sports
J title DJGPP\stcl\sdoes'nt\s\sread\sbinary\sfiles\scorrectly
J type Patch
K 736378ffffffffffffffffffffffffffffffffff
U vbwagner
Z e39ed3bd67353e68f9ec31c8be37cb9e