fix bogus signature upon `create' method invocation

This commit is contained in:
dzsekijo 2006-06-19 22:54:16 +00:00
parent 213d8e59e3
commit 3a58c58ed7
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2006-06-20 Csaba Henk <csaba.henk@creo.hu>
* Fix bogus signature upon create method invocation
2006-06-06 Csaba Henk <csaba.henk@creo.hu>
* Let user specify an alternative parser class/`-o' handler for Fuse.
* Make Fuse.fuseoptref() detect "-o [foo]bar" like two-in-one options.

View file

@ -489,7 +489,7 @@ open_func(const char *path, int mode)
static int
create_func(const char *path, mode_t mode, struct fuse_file_info *fi)
{
PyObject *v = PyObject_CallFunction(create_cb, "si", path, fi->flags, mode);
PyObject *v = PyObject_CallFunction(create_cb, "sii", path, fi->flags, mode);
PROLOGUE
fi->fh = (uintptr_t) v;