Artifacts Associated With Ticket 217823ffffffffff
Ticket change [393ce3ef7d] (rid 112357) by nobody on 2000-10-26 00:44:22:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1491 Bug Version: 8.1b1 SubmitDate: '1999-03-11' LastModified: '1999-04-05' Severity: MED Status: Closed Submitter: pat ChangedBy: stanton RelatedBugIDs: 1477 OS: Other Machine: NA FixedDate: '2000-10-25' ClosedDate: '1999-04-05' Name: Don Porter CVS: tclWinChan.c,v 1.1.2.4 1999/02/26 Patch: Index: tclWinChan.c =================================================================== RCS file: /cvsroot/tcl/win/tclWinChan.c,v retrieving revision 1.1.2.4 diff -c -r1.1.2.4 tclWinChan.c *** tclWinChan.c1999/02/26 02:19:231.1.2.4 --- tclWinChan.c1999/03/09 20:11:26 *************** *** 443,448 **** --- 443,449 ---- newPos = SetFilePointer(infoPtr->handle, offset, NULL, moveMethod); if (newPos == 0xFFFFFFFF) { TclWinConvertError(GetLastError()); + *errorCodePtr = errno; return -1; } return newPos; PatchFiles: tclWinChan.c FileSeekProc doesn't set *errorCodePtr to a Posix error code as the documentation in Tcl_CreateChannel(3) specifies. This patch corrects the error. NB 1: This patch assumes that when SetFilePointer() is called on a handle to a nonseeking device, it will fail and the next call to GetLastError() will return an error which gets converted to EINVAL. If that is not true, further patching is needed. NB 2: The same bug is present in Tcl 8.0.x . I'm submitting only one patch. 03/11/1999 13:26 - pat -duplicate of bug 1477 - foundin initialized to: "obsolete: 8.1b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "FileSeekProc fails to return error code"
- type initialized to: "Bug"
Ticket change [ec870e111c] (rid 103721) by welch on 2000-10-26 07:49:20:
- closedate changed to: "2000-10-26T00:49:20"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [be1cb4e518] (rid 102020) by dgp on 2001-04-13 23:13:20:
- closedate changed to: "2001-04-13T16:13:20"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"