PHYSFS_setWriteDir() broken in PhysFS 1.0.1

Dennis Schridde devurandom at
Wed Jun 21 11:30:37 EDT 2006

PHYSFS_setWriteDir() seems broken in PhysFS 1.0.1.
In the documentation it says:
Set a new write dir. This will override the previous setting. If the directory 
or a parent directory doesn't exist in the physical filesystem, PhysicsFS 
will attempt to create them as needed.
But this call will fail with an "File not found" error, if the specified write 
dir does not exist.
This can be confirmed on several distributions and also with physfs-1.0.0

My idea: Either adjust the docs, or fix the code and create a new bugfix 

Thanks for your support,

More information about the physfs mailing list