Skip to content
Tcl Source Code History Of Ticket 217823ffffffffff
Login

History Of Ticket 217823ffffffffff

Artifacts Associated With Ticket 217823ffffffffff

  1. Ticket change [393ce3ef7d] (rid 112357) by nobody on 2000-10-26 00:44:22:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.1b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "FileSeekProc fails to return error code"
    11. type initialized to: "Bug"
  2. Ticket change [ec870e111c] (rid 103721) by welch on 2000-10-26 07:49:20:

    1. closedate changed to: "2000-10-26T00:49:20"
    2. closer changed to: "welch"
    3. priority changed to: "1 Zero"
    4. resolution changed to: "Duplicate"
    5. status changed to: "Closed"
  3. Ticket change [be1cb4e518] (rid 102020) by dgp on 2001-04-13 23:13:20:

    1. closedate changed to: "2001-04-13T16:13:20"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"