.
D 2000-10-26T00:44:22
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1491\sBug\nVersion:\s8.1b1\nSubmitDate:\s'1999-03-11'\nLastModified:\s'1999-04-05'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\sstanton\nRelatedBugIDs:\s1477\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-04-05'\n\n\nName:\nDon\sPorter\n\nCVS:\ntclWinChan.c,v\s1.1.2.4\s1999/02/26\n\nPatch:\nIndex:\stclWinChan.c\n===================================================================\nRCS\sfile:\s/cvsroot/tcl/win/tclWinChan.c,v\nretrieving\srevision\s1.1.2.4\ndiff\s-c\s-r1.1.2.4\stclWinChan.c\n***\stclWinChan.c1999/02/26\s02:19:231.1.2.4\n---\stclWinChan.c1999/03/09\s20:11:26\n***************\n***\s443,448\s****\n---\s443,449\s----\n\s\s\s\s\s\snewPos\s=\sSetFilePointer(infoPtr->handle,\soffset,\sNULL,\smoveMethod);\n\s\s\s\s\s\sif\s(newPos\s==\s0xFFFFFFFF)\s{\n\s\s\s\s\s\s\s\s\s\sTclWinConvertError(GetLastError());\n+\s\s\s\s\s\s\s\s\s*errorCodePtr\s=\serrno;\n\s\s\s\s\s\s\s\s\s\sreturn\s-1;\n\s\s\s\s\s\s}\n\s\s\s\s\s\sreturn\snewPos;\n\n\n\n\nPatchFiles:\n\s\s\s\stclWinChan.c\n\s\s\s\s\n\n\n\n\n\n\s\s\s\sFileSeekProc\sdoesn't\sset\s*errorCodePtr\sto\sa\sPosix\serror\scode\n\s\s\s\sas\sthe\sdocumentation\sin\sTcl_CreateChannel(3)\sspecifies.\s\sThis\n\s\s\s\spatch\scorrects\sthe\serror.\n\s\s\s\s\n\s\s\s\sNB\s1:\sThis\spatch\sassumes\sthat\swhen\sSetFilePointer()\sis\scalled\n\s\s\s\son\sa\shandle\sto\sa\snonseeking\sdevice,\sit\swill\sfail\sand\sthe\snext\n\s\s\s\scall\sto\sGetLastError()\swill\sreturn\san\serror\swhich\sgets\sconverted\n\s\s\s\sto\sEINVAL.\s\s\sIf\sthat\sis\snot\strue,\sfurther\spatching\sis\sneeded.\n\s\s\s\s\n\s\s\s\sNB\s2:\sThe\ssame\sbug\sis\spresent\sin\sTcl\s8.0.x\s.\s\sI'm\ssubmitting\sonly\n\s\s\s\sone\spatch.\n\s\s\s\s\n\s\s\s\s03/11/1999\s13:26\s-\spat\s-duplicate\sof\sbug\s1477\n
J foundin obsolete:\s8.1b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title FileSeekProc\sfails\sto\sreturn\serror\scode
J type Bug
K 217823ffffffffffffffffffffffffffffffffff
U nobody
Z ede6cfbbed2bed2ad6fbaeb92be61854