Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33006b20afdb66e987eea23ed50f093a2fff0520
Ticket: 218309ffffffffffffffffffffffffffffffffff
\0 is not he empty string anymore - was in 8.0
User & Date: nobody on 2000-10-26 00:55:59
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3692 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-24'
    LastModified: '1999-11-28'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Linux-Red Hat
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-28'
    
    
    Name:
    miguel sofer
    
    ReproducibleScript:
    [mig@ant NEW]$ tclsh8.0
    % set a "\0"; if {$a == ""} {puts equal} else {puts different}
    equal
    % 
    [mig@ant NEW]$ tclsh8.2
    % set a "\0"; if {$a == ""} {puts equal} else {puts different}
    different
    
    ObservedBehavior:
    Some scripts that test for empty strings (received from a socket, for instance) 
    do not function in 8.2
    
    DesiredBehavior:
    Ideally, the behaviour of 8.0 - \0 seems to be the 'universal' string terminator
    
    
    
    This is the correct and expected behavior for 8.2, which now
    has full binary support and support for Unicode.  It would be
    more apt to say the 8.0 never handled the \0 fully correct. 
    -- 11/28/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  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: "69. Other"
  10. title changed to: "\0 is not he empty string anymore - was in 8.0"
  11. type changed to: "Bug"