mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* vfs.c: fix MC_NAMEOP macro calls to use the canonicalized path.
This commit is contained in:
parent
f7cacb883f
commit
b7fa9f0e5f
@ -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>
|
||||
|
||||
* audio.in (audiofs_list): Fixed quoting issue.
|
||||
|
18
vfs/vfs.c
18
vfs/vfs.c
@ -360,15 +360,15 @@ int mc_##name inarg \
|
||||
return result; \
|
||||
}
|
||||
|
||||
MC_NAMEOP (chmod, (const char *path, int mode), (vfs, path, mode))
|
||||
MC_NAMEOP (chown, (const char *path, int owner, int group), (vfs, path, owner, group))
|
||||
MC_NAMEOP (utime, (const char *path, struct utimbuf *times), (vfs, path, times))
|
||||
MC_NAMEOP (readlink, (const char *path, char *buf, int bufsiz), (vfs, path, buf, bufsiz))
|
||||
MC_NAMEOP (unlink, (const char *path), (vfs, path))
|
||||
MC_NAMEOP (symlink, (const char *name1, const char *path), (vfs, name1, path))
|
||||
MC_NAMEOP (mkdir, (const char *path, mode_t mode), (vfs, path, mode))
|
||||
MC_NAMEOP (rmdir, (const char *path), (vfs, path))
|
||||
MC_NAMEOP (mknod, (const char *path, int mode, int dev), (vfs, path, mode, dev))
|
||||
MC_NAMEOP (chmod, (const char *path, int mode), (vfs, mpath, mode))
|
||||
MC_NAMEOP (chown, (const char *path, int owner, int group), (vfs, mpath, owner, group))
|
||||
MC_NAMEOP (utime, (const char *path, struct utimbuf *times), (vfs, mpath, times))
|
||||
MC_NAMEOP (readlink, (const char *path, char *buf, int bufsiz), (vfs, mpath, buf, bufsiz))
|
||||
MC_NAMEOP (unlink, (const char *path), (vfs, mpath))
|
||||
MC_NAMEOP (symlink, (const char *name1, const char *path), (vfs, name1, mpath))
|
||||
MC_NAMEOP (mkdir, (const char *path, mode_t mode), (vfs, mpath, mode))
|
||||
MC_NAMEOP (rmdir, (const char *path), (vfs, mpath))
|
||||
MC_NAMEOP (mknod, (const char *path, int mode, int dev), (vfs, mpath, mode, dev))
|
||||
|
||||
|
||||
#define MC_HANDLEOP(name, inarg, callarg) \
|
||||
|
Loading…
Reference in New Issue
Block a user