Skip to content
Tcl Source Code View Ticket
Login

View Ticket

string equal/compare -nocase returns wrong results

Closed / Fixed218791ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:24
OriginalBugID: 2138 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-07-01'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: foster
OS: Windows 95
Machine: X86
FixedDate: '1999-06-03'
FixedInVersion: 8.2b1
ClosedDate: '2000-10-25'


Name:
James Hemmerle

Extensions:


Comments:
Without the -nocase the correct results are returned.

ReproducibleScript:
% tclsh8.1
    % set tcl_patchLevel
    8.1.1
    % string equal -nocase "" foo
    1
    % string compare -nocase "" foo
    0

ObservedBehavior:
The statements return the wrong results.
welch Closed ticket [218791ffff]. [History diff]2000-10-26 08:29:15
dgp Ticket [218791ffff]: 3 changes [History diff]2001-04-23 02:18:00
Log in (anonymous is fine) to add a comment.