diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-05 16:41:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-05 16:41:24 +0200 |
commit | 1c32dff7d6b4cf00d1e63ac79968e9deb8b90e2e (patch) | |
tree | 2d78aad10e6cfc81acfcac846501a99d719933d5 /src/proto | |
parent | 85de20665f3ed48345b79cd0920af41397544141 (diff) | |
download | vim-git-1c32dff7d6b4cf00d1e63ac79968e9deb8b90e2e.tar.gz |
updated for version 7.3.172v7.3.172
Problem: MS-Windows: rename() might delete the file if the name differs but
it's actually the same file.
Solution: Use the file handle to check if it's the same file. (Yukihiro
Nakadaira)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/os_win32.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/os_win32.pro b/src/proto/os_win32.pro index 31aa269ae..a3f5b3ecd 100644 --- a/src/proto/os_win32.pro +++ b/src/proto/os_win32.pro @@ -21,6 +21,7 @@ int mch_setperm __ARGS((char_u *name, long perm)); void mch_hide __ARGS((char_u *name)); int mch_isdir __ARGS((char_u *name)); int mch_is_linked __ARGS((char_u *fname)); +int win32_fileinfo __ARGS((char_u *name, BY_HANDLE_FILE_INFORMATION *lpFileInfo)); int mch_writable __ARGS((char_u *name)); int mch_can_exe __ARGS((char_u *name)); int mch_nodetype __ARGS((char_u *name)); |