Mercurial > vim
comparison src/os_amiga.c @ 6695:6529590f6c43 v7.4.672
updated for version 7.4.672
Problem: When completing a shell command, directories in the current
directory are not listed.
Solution: When "." is not in $PATH also look in the current directory for
directories.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 21 Mar 2015 17:32:19 +0100 |
parents | 5ab2946f7ce5 |
children | 0b6c37dd858d |
comparison
equal
deleted
inserted
replaced
6694:c0df98c0770c | 6695:6529590f6c43 |
---|---|
879 return -1; | 879 return -1; |
880 } | 880 } |
881 | 881 |
882 /* | 882 /* |
883 * Return 1 if "name" can be executed, 0 if not. | 883 * Return 1 if "name" can be executed, 0 if not. |
884 * If "use_path" is FALSE only check if "name" is executable. | |
884 * Return -1 if unknown. | 885 * Return -1 if unknown. |
885 */ | 886 */ |
886 int | 887 int |
887 mch_can_exe(name, path) | 888 mch_can_exe(name, path, use_path) |
888 char_u *name; | 889 char_u *name; |
889 char_u **path; | 890 char_u **path; |
891 int use_path; | |
890 { | 892 { |
891 /* TODO */ | 893 /* TODO */ |
892 return -1; | 894 return -1; |
893 } | 895 } |
894 | 896 |