25#include <wx/filename.h>
33 FILE* fp = wxFopen( aPath, aMode );
37 if( posix_fadvise( fileno( fp ), 0, 0, POSIX_FADV_SEQUENTIAL ) != 0 )
49 struct stat sourceStat;
50 if( stat( aSrc.fn_str(), &sourceStat ) == 0 )
52 mode_t permissions = sourceStat.st_mode & ( S_IRWXU | S_IRWXG | S_IRWXO );
53 if( chmod( aDest.fn_str(), permissions ) == 0 )
72 wxFileName fn( aFileName );
74 return fn.GetName().StartsWith( wxT(
"." ) );