We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5907f68 commit 9609a52Copy full SHA for 9609a52
src/goto-cc/compile.cpp
@@ -226,20 +226,14 @@ bool compilet::add_files_from_archive(
226
const std::string &file_name,
227
bool thin_archive)
228
{
229
-#ifdef _WIN32
230
- char td[MAX_PATH + 1];
231
-#else
232
- char td[] = "goto-cc.XXXXXX";
233
-#endif
234
-
235
std::stringstream cmd;
236
FILE *stream;
237
238
std::string tstr = working_directory;
239
240
if(!thin_archive)
241
242
- tstr = get_temporary_directory(td);
+ tstr = get_temporary_directory("goto-cc.XXXXXX");
243
244
if(tstr=="")
245
0 commit comments