Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a39b4c37da8b4476d66603a25b4f01d389e2632d
Ticket: 405995ffffffffffffffffffffffffffffffffff
Tcl_Ungets filling buffer wrongly
User & Date: nobody on 2001-03-05 11:34:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl_Ungets puts the bytes into the beginning of the 
    buffer, not staring at bufPtr->nextAdded.
    
    diff -r tcl8.3.2/generic/tclIO.c 
    tcl8.3.2.new/generic/tclIO.c
    4553c4553
    <         bufPtr->buf[i] = str[i];
    ---
    >         bufPtr->buf[bufPtr->nextAdded++] = str[i];
    4555d4554
    <     bufPtr->nextAdded += len;
    
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "24. Channel Commands"
  10. title changed to: "Tcl_Ungets filling buffer wrongly"
  11. type changed to: "Bug"