Overview
| Artifact ID: | 1e9bbc1e022f8b4204a760bd1eab8794b49161e8 |
|---|---|
| Ticket: | 218789ffffffffffffffffffffffffffffffffff
"string compare -nocase" slightly case sensitive |
| User & Date: | nobody on 2000-10-26 01:05:23 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2135 Bug Version: 8.1.1 SubmitDate: '1999-06-02' LastModified: '1999-07-01' Severity: LOW Status: Released Submitter: techsupp ChangedBy: foster OS: Other Machine: NA FixedDate: '1999-06-02' FixedInVersion: 8.2b1 ClosedDate: '2000-10-25' Name: Peter Spjuth ObservedBehavior: % string compare B a -1 % string compare -nocase B a -1 DesiredBehavior: The last command should return 1 Patch: *** tclUtf.c.orig Wed Jun 02 19:55:08 1999 --- tclUtf.c Wed Jun 02 20:31:40 1999 *************** *** 1135,1142 **** cs += Tcl_UtfToUniChar(cs, &ch1); ct += Tcl_UtfToUniChar(ct, &ch2); if ((ch1 != ch2) && ! (Tcl_UniCharToLower(ch1) != Tcl_UniCharToLower(ch2))) { ! return (ch1 - ch2); } } return 0; --- 1135,1143 ---- cs += Tcl_UtfToUniChar(cs, &ch1); ct += Tcl_UtfToUniChar(ct, &ch2); if ((ch1 != ch2) && ! ((ch1 = Tcl_UniCharToLower(ch1)) != ! (ch2 = Tcl_UniCharToLower(ch2)))) { ! return (ch1 - ch2); } } return 0; PatchFiles: tclUtf.c 06/02/1999 13:20 - stanton - Applied patch. - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: ""string compare -nocase" slightly case sensitive"
- type changed to: "Bug"