diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-05-09 15:33:00 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-09 15:33:00 -0400 |
commit | 1a3ee71de258b416ca6b80f0a9e3b91460df8dc7 (patch) | |
tree | a59167e50add55b51ed31c65944cfa78ddd1c290 /src/macros.h | |
parent | f3dda65de157f2d7c35286018c20cbc7597ed748 (diff) | |
parent | eae498c4c5d34c1d0af40ecb430cbbc23b0a8e97 (diff) | |
download | rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.tar.gz rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.tar.bz2 rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.zip |
Merge pull request #619 from stefan991/mch_stat-cleanup
Replace `struct stat` with `FileInfo`
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/macros.h b/src/macros.h index 5f7147be23..9bfe3d054b 100644 --- a/src/macros.h +++ b/src/macros.h @@ -98,21 +98,6 @@ #define vim_isbreak(c) (breakat_flags[(char_u)(c)]) # define mch_fopen(n, p) fopen((n), (p)) -# define mch_fstat(n, p) fstat((n), (p)) -# ifdef STAT_IGNORES_SLASH -/* On Solaris stat() accepts "file/" as if it was "file". Return -1 if - * the name ends in "/" and it's not a directory. */ -# define mch_stat(n, p) (illegal_slash(n) ? -1 : stat((n), (p))) -# else -# define mch_stat(n, p) stat((n), (p)) -# endif - -#ifdef HAVE_LSTAT -# define mch_lstat(n, p) lstat((n), (p)) -#else -# define mch_lstat(n, p) mch_stat((n), (p)) -#endif - # define mch_open(n, m, p) open((n), (m), (p)) /* mch_open_rw(): invoke mch_open() with third argument for user R/W. */ |