path_createsysfile bug?

Apr 29, 2013 at 9:26am

path_createsysfile bug?

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?

#67998
Apr 29, 2013 at 9:41am

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

#244343
Apr 29, 2013 at 10:55am

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

#244344

You must be logged in to reply to this topic.