git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change strncasecmp() == 0 to STRCASEEQLEN()
[libguestfs.git]
/
fish
/
destpaths.c
diff --git
a/fish/destpaths.c
b/fish/destpaths.c
index
87287aa
..
c12c64a
100644
(file)
--- a/
fish/destpaths.c
+++ b/
fish/destpaths.c
@@
-215,7
+215,7
@@
complete_dest_paths_generator (const char *text, int state)
word = &words[index];
index++;
- if (
strncasecmp (word->name, text, len) == 0
) {
+ if (
STRCASEEQLEN (word->name, text, len)
) {
if (word->is_dir)
rl_completion_append_character = '/';