After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321151 - The string comparison function doesn't work
The string comparison function doesn't work
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-10 12:09 UTC by Muktha
Modified: 2005-11-10 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (793 bytes, patch)
2005-11-10 12:10 UTC, Muktha
none Details | Review

Description Muktha 2005-11-10 12:09:30 UTC
The string comparison function always returns the result as 'passed'
irrespective of the strings passed for comparison. Even for strings that are not
same, the result obtained is 'passed'.

Attaching a patch that fixes this issue.
Comment 1 Muktha 2005-11-10 12:10:53 UTC
Created attachment 54579 [details] [review]
Proposed patch
Comment 2 Zack Cerza 2005-11-10 16:58:16 UTC
Wow, thanks for catching this. I just committed a fix - your patch was good, and
is very much appreciated. I had to make several other fixes to the module to
both safeguard against this type of thing in the future, and fix unit tests that
were broken by it.

TC's unit tests really need to be rewritten :(