mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1460
Problem: Syntax error in rarily used code. Solution: Fix the mch_rename() declaration. (Ken Takata)
This commit is contained in:
@@ -6454,14 +6454,14 @@ have_dollars(int num, char_u **file)
|
||||
}
|
||||
#endif /* ifndef __EMX__ */
|
||||
|
||||
#ifndef HAVE_RENAME
|
||||
#if !defined(HAVE_RENAME) || defined(PROTO)
|
||||
/*
|
||||
* Scaled-down version of rename(), which is missing in Xenix.
|
||||
* This version can only move regular files and will fail if the
|
||||
* destination exists.
|
||||
*/
|
||||
int
|
||||
mch_rename(const char *src, *dest)
|
||||
mch_rename(const char *src, const char *dest)
|
||||
{
|
||||
struct stat st;
|
||||
|
||||
|
Reference in New Issue
Block a user