3 static bool st_IsPathDelimiter( char c ) { return c == '/'; }
4 bool IsValidPath( char const * filename )
6 if ( !filename || filename[0] == 0 )
8 char const * run = filename;
12 if ( run[1] != '.' || ( !st_IsPathDelimiter( run[2] ) && run[2] != 0 ) )
14 while ( *run && !st_IsPathDelimiter( *run ) )
19 } // { dg-warning "control reaches end of non-void function" }