VFS: fixing symbol clash on mc_readlink() at non-vfs build
Этот коммит содержится в:
родитель
1ee19ccdc2
Коммит
9571b0ac15
@ -29,7 +29,6 @@
|
||||
#define mc_fstat fstat
|
||||
#define mc_lstat lstat
|
||||
|
||||
#define mc_readlink readlink
|
||||
#define mc_symlink symlink
|
||||
#define mc_rename rename
|
||||
|
||||
|
@ -21,6 +21,7 @@ int vfs_file_is_local (const char *filename);
|
||||
ssize_t mc_read (int handle, void *buffer, int count);
|
||||
ssize_t mc_write (int handle, const void *buffer, int count);
|
||||
int mc_utime (const char *path, struct utimbuf *times);
|
||||
int mc_readlink (const char *path, char *buf, int bufsiz);
|
||||
|
||||
#else /* USE_VFS */
|
||||
|
||||
@ -31,6 +32,7 @@ int mc_utime (const char *path, struct utimbuf *times);
|
||||
#define mc_read read
|
||||
#define mc_write write
|
||||
#define mc_utime utime
|
||||
#define mc_readlink readlink
|
||||
|
||||
#endif /* USE_VFS */
|
||||
|
||||
@ -69,7 +71,6 @@ int mc_fstat (int fd, struct stat *buf);
|
||||
|
||||
int mc_chmod (const char *path, mode_t mode);
|
||||
int mc_chown (const char *path, uid_t owner, gid_t group);
|
||||
int mc_readlink (const char *path, char *buf, int bufsiz);
|
||||
int mc_unlink (const char *path);
|
||||
int mc_symlink (const char *name1, const char *name2);
|
||||
int mc_link (const char *name1, const char *name2);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user