Menu

#1407 Temporary filename in incorrect location on win32

Byatis
closed-fixed
nobody
bugfix (702)
5
2012-07-21
2012-06-26
No

Using tmpnam() function on win32 returns a filename to be used in the current directory. Even worst, since it begins with a backslash, the file is created on the root of the current drive. More explanations here:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=70625

Fix is to use _tempnam() function when platform is win32. This will generate a proper file name at the proper location.

Discussion

  • Martin Dubé

    Martin Dubé - 2012-06-26
     
  • Holger Frydrych

    Holger Frydrych - 2012-07-21
    • status: open --> closed-fixed
     

Log in to post a comment.