* vfs.c: fix MC_NAMEOP macro calls to use the canonicalized path.

This commit is contained in:
Roland Illig 2004-11-15 22:55:50 +00:00
parent f7cacb883f
commit b7fa9f0e5f
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2004-11-15 Leonard den Ottolander <leonard * den ottolander nl>
* vfs.c: fix MC_NAMEOP macro calls to use the canonicalized path.
2004-11-10 Roland Illig <roland.illig@gmx.de> 2004-11-10 Roland Illig <roland.illig@gmx.de>
* audio.in (audiofs_list): Fixed quoting issue. * audio.in (audiofs_list): Fixed quoting issue.

View File

@ -360,15 +360,15 @@ int mc_##name inarg \
return result; \ return result; \
} }
MC_NAMEOP (chmod, (const char *path, int mode), (vfs, path, mode)) MC_NAMEOP (chmod, (const char *path, int mode), (vfs, mpath, mode))
MC_NAMEOP (chown, (const char *path, int owner, int group), (vfs, path, owner, group)) MC_NAMEOP (chown, (const char *path, int owner, int group), (vfs, mpath, owner, group))
MC_NAMEOP (utime, (const char *path, struct utimbuf *times), (vfs, path, times)) MC_NAMEOP (utime, (const char *path, struct utimbuf *times), (vfs, mpath, times))
MC_NAMEOP (readlink, (const char *path, char *buf, int bufsiz), (vfs, path, buf, bufsiz)) MC_NAMEOP (readlink, (const char *path, char *buf, int bufsiz), (vfs, mpath, buf, bufsiz))
MC_NAMEOP (unlink, (const char *path), (vfs, path)) MC_NAMEOP (unlink, (const char *path), (vfs, mpath))
MC_NAMEOP (symlink, (const char *name1, const char *path), (vfs, name1, path)) MC_NAMEOP (symlink, (const char *name1, const char *path), (vfs, name1, mpath))
MC_NAMEOP (mkdir, (const char *path, mode_t mode), (vfs, path, mode)) MC_NAMEOP (mkdir, (const char *path, mode_t mode), (vfs, mpath, mode))
MC_NAMEOP (rmdir, (const char *path), (vfs, path)) MC_NAMEOP (rmdir, (const char *path), (vfs, mpath))
MC_NAMEOP (mknod, (const char *path, int mode, int dev), (vfs, path, mode, dev)) MC_NAMEOP (mknod, (const char *path, int mode, int dev), (vfs, mpath, mode, dev))
#define MC_HANDLEOP(name, inarg, callarg) \ #define MC_HANDLEOP(name, inarg, callarg) \