Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f9f1970948641208b971efb154595ac5b8470d9
Ticket: 985869ffffffffffffffffffffffffffffffffff
[puts] accepts invalid arguments
User & Date: mistachkin on 2004-07-06 10:21:51
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    To duplicate:
    
    puts stdout "this is a test." ""
    
    Please note the extra set of double quotes after the 
    string.
    
    Line 105 of tclIOCmd.c is currently:
    
    if (strncmp(arg, "nonewline", (size_t) length) != 0) {
    
    I believe It SHOULD be:
    
    if (length > 0 && strncmp(arg, "nonewline", (size_t) 
    length) != 0) {
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mistachkin"
  9. subsystem changed to: "None"
  10. title changed to: "[puts] accepts invalid arguments"
  11. type changed to: "Bug"