Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion fuseparts/_fusemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,13 @@ flush_func(const char *path)
EPILOGUE
}

#ifdef __APPLE__
static int
getxattr_func(const char *path, const char *name, char *value, size_t size, uint32_t position)
#else
static int
getxattr_func(const char *path, const char *name, char *value, size_t size)
#endif
{
#if PY_VERSION_HEX < 0x02050000
PROLOGUE( PyObject_CallFunction(getxattr_cb, "ssi", path, name, size) )
Expand Down Expand Up @@ -1020,10 +1025,15 @@ listxattr_func(const char *path, char *list, size_t size)

EPILOGUE
}

#ifdef __APPLE__
static int
setxattr_func(const char *path, const char *name,
const char *value, size_t size, int flags, uint32_t position)
#else
static int
setxattr_func(const char *path, const char *name, const char *value,
size_t size, int flags)
#endif
{
PROLOGUE(
#ifdef FIX_PATH_DECODING
Expand Down