Forum OpenACS Development: CR bug on Windows - ns_mktemp
I may have discovered a CR bug on Windows:
It looks like ns_mktemp will never be Windows compatible because /tmp is hard-coded.
ns_tmpnam appears to return the correct path on Windows and Linux.
Does anyone have other recommendations?
when the caller to content::revision::update_content has no temp filename passed in but the storage type is set to file, it creates a file from the text content so it can be stored correctly.
Since the caller is not aware of this temp file it can't remove it. Of course if you are using storage type "file" you should really pass in a file.
Fixed on oacs-5-5 will be merged to HEAD with everything else.