Remove . from default library search path.

This commit is contained in:
Richard Cohen 2004-03-17 20:48:44 +00:00 committed by Alexandre Julliard
parent 200675f9e4
commit b9a12ad3b7
1 changed files with 2 additions and 3 deletions

View File

@ -229,9 +229,8 @@ static char *open_library( const char *name )
{
if ((fullname = try_library_path( lib_path[i], name ))) return fullname;
}
if (!(fullname = try_library_path( ".", name )))
fatal_error( "could not open .def file for %s\n", name );
return fullname;
fatal_error( "could not open .def file for %s\n", name );
return NULL;
}
/* read in the list of exported symbols of an import library */