[bug #18977] Case insensetive search in mc doesn't work



URL:
  <http://savannah.gnu.org/bugs/?18977>

                 Summary: Case insensetive search in mc doesn't work
                 Project: GNU Midnight Commander
            Submitted by: krix
            Submitted on: Tuesday 02/06/2007 at 21:46
                Category: Core
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hey there.

I just found a patch in some freebsd bugtracker and saw that it says that
case insensetive search does not work in 4.6.1 (maybe in CVS i did not test
that :S )

I tried it and it does not works :))

A simple example how to reproduce. Get a directory which contains case and
non-case filenames too:

- service
- services
- ICEcube
- somethingelse

Now, when you open Search dialog and put *ICE* for filename you wanna search
then you got result like:

Case sens. ON:

- ICEcube (so it find it)

Case sens. OFF:

- ICEcube (so it find it again)

Let switch what we want to search. switch to *ice* then results:

Case sens. ON:

- service
- services

Case sens. OFF:

- service
- services

^^ So see the bug, while case sens. was off and you searched for *ice* you
need to see ICEcube too in the list, but you wont.

The patch original source is:
http://www.freebsd.org/cgi/query-pr.cgi?pr=99428

I take the patch from there and "reformatted" for mc 4.6.1

I attached two patch one for 4.6.1 and one for CVS (20070206 checkout)

Applies clean and fixes the bug, if not fixed in CVS already. I think no :)

Regards

Christian Hamar alias krix
Hungary
Frugalware Development Team
http://www.frugalware.org/




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 02/06/2007 at 21:46  Name:
11-case-sensitive-find-fix-4.6.1.patch  Size: 6kB   By: krix
Patches for case sensitive bug (4.6.1 and CVS_20070206)
<http://savannah.gnu.org/bugs/download.php?file_id=11931>
-------------------------------------------------------
Date: Tuesday 02/06/2007 at 21:46  Name:
case-sensitive-find-fix-forcvs_20070206.patch  Size: 6kB   By: krix
Patches for case sensitive bug (4.6.1 and CVS_20070206)
<http://savannah.gnu.org/bugs/download.php?file_id=11932>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18977>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]