Commit 34158773 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/modules.c: removed an old win32 hack which was creating more...

* src/misc/modules.c: removed an old win32 hack which was creating more problems than it was solving.
parent 8cbc8f8d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions * modules.c : Builtin and plugin modules management functions
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.132 2003/09/23 16:07:49 gbazin Exp $ * $Id: modules.c,v 1.133 2003/09/26 11:30:06 gbazin Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com> * Ethan C. Baldridge <BaldridgeE@cadmus.com>
...@@ -583,16 +583,6 @@ static void AllocateAllPlugins( vlc_object_t *p_this ) ...@@ -583,16 +583,6 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
path[ sizeof(path)/sizeof(char*) - 2 ] = config_GetPsz( p_this, path[ sizeof(path)/sizeof(char*) - 2 ] = config_GetPsz( p_this,
"plugin-path" ); "plugin-path" );
#if defined( WIN32 ) && !defined( UNDER_CE ) && !defined( _MSC_VER )
/* If there is no 'plugins' nor 'modules' subdirectory, the user may have
* screwed up the unzipping stage, so we look into '.' instead */
if( !opendir( "plugins" ) && !opendir( "modules" )
&& !strcmp( *ppsz_path, "modules" ) )
{
*ppsz_path = ".";
}
#endif
for( ; *ppsz_path != NULL ; ppsz_path++ ) for( ; *ppsz_path != NULL ; ppsz_path++ )
{ {
#if defined( SYS_BEOS ) || defined( SYS_DARWIN ) \ #if defined( SYS_BEOS ) || defined( SYS_DARWIN ) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment