mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
whoops, tempnam() returns os-specific filename
This commit is contained in:
parent
39448de889
commit
3a4ef895ee
@ -213,7 +213,7 @@ initiate(const Filename &patch_file, const Filename &file) {
|
||||
<< "Patchfile::initiate() - Failed to create temp file name, using default" << endl;
|
||||
_temp_file = "patcher_temp_file";
|
||||
} else {
|
||||
_temp_file = tempfilename;
|
||||
_temp_file = Filename::from_os_specific(tempfilename);
|
||||
free(tempfilename);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user