git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30697
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
// if we got here we must have a non empty code string
}
// if we got here we must have a non empty code string
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
// - Windows : like "dir" command
// - others : ?
wxString line(details ? _T("LIST") : _T("NLST"));
// - Windows : like "dir" command
// - others : ?
wxString line(details ? _T("LIST") : _T("NLST"));
- if ( !wildcard.IsEmpty() )
+ if ( !wildcard.empty() )
{
line << _T(' ') << wildcard;
}
{
line << _T(' ') << wildcard;
}
#ifdef __VMS
#pragma message disable intsignchange
#endif
#ifdef __VMS
#pragma message disable intsignchange
#endif
- return ( m_file->Seek(pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset );
+ wxASSERT_MSG( pos >= 0 && pos <= LONG_MAX, _T("no huge wxFFile support") );
+ return ( m_file->Seek((long)pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset );
#ifdef __VMS
#pragma message enable intsignchange
#endif
#ifdef __VMS
#pragma message enable intsignchange
#endif
#ifdef __VMS
#pragma message disable intsignchange
#endif
#ifdef __VMS
#pragma message disable intsignchange
#endif
- return ( m_file->Seek(pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset );
+ wxASSERT_MSG( pos >= 0 && pos <= LONG_MAX, _T("no huge wxFFile support") );
+ return ( m_file->Seek((long)pos, mode) ? (wxFileOffset)m_file->Tell() : wxInvalidOffset );
#ifdef __VMS
#pragma message enable intsignchange
#endif
#ifdef __VMS
#pragma message enable intsignchange
#endif