mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-23 02:34:14 +03:00
(command_completion_function): don't call canonicalize_pathname()
...because mc_build_filename() makes that. (etags_set_definition_hash): likewise. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
328d27ccf1
commit
7031508550
@ -665,7 +665,6 @@ command_completion_function (const char *text, int state, input_complete_t flags
|
||||
expanded = tilde_expand (*cur_path != '\0' ? cur_path : ".");
|
||||
cur_word = mc_build_filename (expanded, u_text, (char *) NULL);
|
||||
g_free (expanded);
|
||||
canonicalize_pathname (cur_word);
|
||||
cur_path = strchr (cur_path, '\0') + 1;
|
||||
init_state = state;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "lib/fileloc.h" /* TAGS_NAME */
|
||||
#include "lib/tty/tty.h" /* LINES, COLS */
|
||||
#include "lib/strutil.h"
|
||||
#include "lib/util.h" /* canonicalize_pathname() */
|
||||
#include "lib/util.h"
|
||||
|
||||
#include "editwidget.h"
|
||||
|
||||
@ -253,7 +253,6 @@ etags_set_definition_hash (const char *tagfile, const char *start_path, const ch
|
||||
def_hash = g_new (etags_hash_t, 1);
|
||||
|
||||
def_hash->fullpath = mc_build_filename (start_path, filename, (char *) NULL);
|
||||
canonicalize_pathname (def_hash->fullpath);
|
||||
def_hash->filename = g_strdup (filename);
|
||||
|
||||
def_hash->line = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user