remove code that creates directory. add file in out directory so that git creates the directory
This commit is contained in:
10
xmltest.cpp
10
xmltest.cpp
@@ -338,16 +338,6 @@ int main( int argc, const char ** argv )
|
||||
}
|
||||
fclose( fp );
|
||||
|
||||
#if 0
|
||||
#if defined WIN32
|
||||
if ( !CreateDirectory( L"resources\\out", NULL ) && GetLastError() != ERROR_ALREADY_EXISTS ) {
|
||||
#else
|
||||
if ( mkdir( "resources/out", S_IRWXU | S_IRGRP | S_IXGRP ) == -1 && errno != EEXIST ) {
|
||||
#endif
|
||||
printf( "Unable to create directory 'resources/out': %s\n", strerror( errno ) );
|
||||
exit( 1 );
|
||||
}
|
||||
#endif
|
||||
XMLTest( "Example-1", 0, example_1() );
|
||||
XMLTest( "Example-2", 0, example_2() );
|
||||
XMLTest( "Example-3", 0, example_3() );
|
||||
|
||||
Reference in New Issue
Block a user