return !access(fname, 0) &&
!stat(MBSTRINGCAST fname, &st) &&
return !access(fname, 0) &&
!stat(MBSTRINGCAST fname, &st) &&
{
// file probably didn't exist, just create with default mode _using_
// user's umask (new files creation should respet umask)
{
// file probably didn't exist, just create with default mode _using_
// user's umask (new files creation should respet umask)
if ( remove(m_strTemp.fn_str()) != 0 )
wxLogSysError(_("can't remove temporary file '%s'"), m_strTemp.c_str());
}
if ( remove(m_strTemp.fn_str()) != 0 )
wxLogSysError(_("can't remove temporary file '%s'"), m_strTemp.c_str());
}