mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* vfs.c: Make the last argument to MC_OP non-empty in the
definition of MC_HANDLEOP. Needed for Mac OS X. Reported by Wim Rijnders <wimrijnders@home.nl>
This commit is contained in:
parent
9db4ae7e2f
commit
e5140f37d4
@ -1,3 +1,9 @@
|
|||||||
|
2002-11-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* vfs.c: Make the last argument to MC_OP non-empty in the
|
||||||
|
definition of MC_HANDLEOP. Needed for Mac OS X.
|
||||||
|
Reported by Wim Rijnders <wimrijnders@home.nl>
|
||||||
|
|
||||||
2002-11-08 Pavel Roskin <proski@gnu.org>
|
2002-11-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* extfs/a: Set environment to force date and time format
|
* extfs/a: Set environment to force date and time format
|
||||||
|
@ -443,7 +443,7 @@ mc_open (const char *filename, int flags, ...)
|
|||||||
#define MC_NAMEOP(name, inarg, callarg) \
|
#define MC_NAMEOP(name, inarg, callarg) \
|
||||||
MC_OP (name, inarg, callarg, path = vfs_canon (path); vfs = vfs_type (path);, g_free (path); )
|
MC_OP (name, inarg, callarg, path = vfs_canon (path); vfs = vfs_type (path);, g_free (path); )
|
||||||
#define MC_HANDLEOP(name, inarg, callarg) \
|
#define MC_HANDLEOP(name, inarg, callarg) \
|
||||||
MC_OP (name, inarg, callarg, if (handle == -1) return -1; vfs = vfs_op (handle);, )
|
MC_OP (name, inarg, callarg, if (handle == -1) return -1; vfs = vfs_op (handle);, ;)
|
||||||
|
|
||||||
MC_HANDLEOP(read, (int handle, char *buffer, int count), (vfs_info (handle), buffer, count) )
|
MC_HANDLEOP(read, (int handle, char *buffer, int count), (vfs_info (handle), buffer, count) )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user