diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-03-30 01:04:52 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-03 10:32:41 -0300 |
commit | 98b1f73c3f364d11ba54e9950fc2168712da3996 (patch) | |
tree | c343dce1f7e599103861cf8a2ccf3909e038823d /src/path.c | |
parent | db92e0b0945fc71ebd6c4620836c3a8d900443f4 (diff) | |
download | rneovim-98b1f73c3f364d11ba54e9950fc2168712da3996.tar.gz rneovim-98b1f73c3f364d11ba54e9950fc2168712da3996.tar.bz2 rneovim-98b1f73c3f364d11ba54e9950fc2168712da3996.zip |
Make FPC_* defines an enum type in path.h.
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/path.c b/src/path.c index 9f46dc4e12..91cf567418 100644 --- a/src/path.c +++ b/src/path.c @@ -29,20 +29,10 @@ #define URL_SLASH 1 /* path_is_url() has found "://" */ #define URL_BACKSLASH 2 /* path_is_url() has found ":\\" */ -/* - * Compare two file names and return: - * FPC_SAME if they both exist and are the same file. - * FPC_SAMEX if they both don't exist and have the same file name. - * FPC_DIFF if they both exist and are different files. - * FPC_NOTX if they both don't exist. - * FPC_DIFFX if one of them doesn't exist. - * For the first name environment variables are expanded - */ -int -fullpathcmp ( +FileComparison fullpathcmp ( char_u *s1, char_u *s2, - int checkname /* when both don't exist, check file names */ + int checkname ) { #ifdef UNIX |