From: Marcin Krol Date: Mon, 7 Jul 2014 23:43:32 +0000 (+0000) Subject: - disable case sensitive file search by default X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=db708d14a4b19cb240ebccd4aa25f9a68a53ae55;p=packages%2Fmc.git - disable case sensitive file search by default --- diff --git a/mc-file-find-case-insensitive.patch b/mc-file-find-case-insensitive.patch new file mode 100644 index 0000000..ce43e74 --- /dev/null +++ b/mc-file-find-case-insensitive.patch @@ -0,0 +1,21 @@ +diff -ur mc-4.8.12.orig/src/filemanager/find.c mc-4.8.12/src/filemanager/find.c +--- mc-4.8.12.orig/src/filemanager/find.c 2014-04-01 10:54:01.000000000 +0000 ++++ mc-4.8.12/src/filemanager/find.c 2014-07-07 19:49:44.402848680 +0000 +@@ -291,7 +291,7 @@ + loaded = TRUE; + + options.file_case_sens = +- mc_config_get_bool (mc_main_config, "FindFile", "file_case_sens", TRUE); ++ mc_config_get_bool (mc_main_config, "FindFile", "file_case_sens", FALSE); + options.file_pattern = + mc_config_get_bool (mc_main_config, "FindFile", "file_shell_pattern", TRUE); + options.find_recurs = mc_config_get_bool (mc_main_config, "FindFile", "file_find_recurs", TRUE); +@@ -301,7 +301,7 @@ + mc_config_get_bool (mc_main_config, "FindFile", "file_all_charsets", FALSE); + options.content_use = mc_config_get_bool (mc_main_config, "FindFile", "content_use", TRUE); + options.content_case_sens = +- mc_config_get_bool (mc_main_config, "FindFile", "content_case_sens", TRUE); ++ mc_config_get_bool (mc_main_config, "FindFile", "content_case_sens", FALSE); + options.content_regexp = + mc_config_get_bool (mc_main_config, "FindFile", "content_regexp", FALSE); + options.content_first_hit =