mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
Make FPC_* defines an enum type in path.h.
This commit is contained in:

committed by
Thiago de Arruda

parent
db92e0b094
commit
98b1f73c3f
14
src/path.c
14
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
|
||||
|
Reference in New Issue
Block a user