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 528625 - [PATCH] Use strcmp instead of strcasecmp in some cases
[PATCH] Use strcmp instead of strcasecmp in some cases
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Preferences
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2008-04-17 18:06 UTC by Marcin Banasiak
Modified: 2008-04-24 03:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
suggested fix (795 bytes, patch)
2008-04-17 18:07 UTC, Marcin Banasiak
committed Details | Review

Description Marcin Banasiak 2008-04-17 18:06:20 UTC
I found out that tracker-preferences doesn't allow to add to "Ignored Paths" paths containing the same name, but one upper case and second lower case. For strcasecmp they were equal, but in fact, they were totally different, so I suggest using strcmp instead.

Similar behaviour happens when trying to add path to "Watch Directories".
Comment 1 Marcin Banasiak 2008-04-17 18:07:00 UTC
Created attachment 109442 [details] [review]
suggested fix
Comment 2 Jamie McCracken 2008-04-24 03:39:10 UTC
Committed to svn - thanks