Proofed that iostreams break threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/setup.h"
|
||||
#include "wx/log.h"
|
||||
|
||||
// No, Cygwin doesn't appear to have fnmatch.h after all.
|
||||
#if defined(HAVE_FNMATCH_H)
|
||||
@@ -1091,7 +1092,7 @@ char *wxGetTempFileName(const wxString& prefix, char *buf)
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
cerr << _("wxWindows: error finding temporary file name.\n");
|
||||
wxLogError( _("wxWindows: error finding temporary file name.\n") );
|
||||
if (buf) buf[0] = 0;
|
||||
return (char *) NULL;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user