path_createsysfile bug?

sletz's icon

We are using path_createsysfile in an external and the function does not work reliably. It typically fails to create a file (and returns an error code) but would work when done several times. Tested on Mac 6.0 and later 6.1.2, running on Mountain Lion 10.8.3.

Any idea what is wrong?

Jeremy's icon

Hi there. Unsurprisingly, we will need more information than this. For instance: OS, which error code, what kind of file and where, some sample code if possible. We use path_createsysfile() extensively internally and in the built-in externals, so there's probably some local circumstance which is creating the problems you are seeing.

Thanks, Jeremy

sletz's icon

Problem solved : seems like 'path' parameter has to be initialized to 0 before calling in path_createsysfile(filename, path, type, &fh);