0026179: Coding rules - eliminate -Wdeprecated-declarations CLang warnings on tmpnam...
authorrkv <rkv@opencascade.com>
Mon, 16 Nov 2015 14:43:25 +0000 (17:43 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 19 Nov 2015 12:31:17 +0000 (15:31 +0300)
commit95e05159d6a0cdaed7f8a15fd5dca322549f817a
tree141436bc5c7b0b2a3baf549c471d4234dcda91fd
parent9b7f3f83c0decfb6438ee780ae061ecbc5d45262
0026179: Coding rules - eliminate -Wdeprecated-declarations CLang warnings on tmpnam() usage

Make a temporary file using BuildTemporary() in "/tmp" folder on Linux or using "TEMP" environment variable on Windows.
Use the new OSD_File::Capture() method for standard output redirection.
src/Draw/Draw_Interpretor.cxx
src/OSD/OSD_Directory.cxx
src/OSD/OSD_File.cxx
src/OSD/OSD_File.hxx