|
2001-04-19
| ||
| 04:36 | • Ticket [218309ffff] \0 is not he empty string anymore - was in 8.0 status st... artifact: da5b912471 user: dgp | |
|
2000-10-26
| ||
| 08:19 | • Closed ticket [218309ffff]. artifact: d950b4a006 user: welch | |
| 00:55 | • New ticket [218309ffff]. artifact: 33006b20af user: nobody | |
\0 is not he empty string anymore - was in 8.0
Closed / Fixed218309ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:59
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
welch Closed ticket [218309ffff].
[History diff]2000-10-26 08:19:00
dgp Ticket [218309ffff]: 3 changes
[History diff]2001-04-19 04:36:29
Log in (anonymous is fine) to add a comment.