Task 0x34: fix plugin autoloading

Ethan C. Baldridge BaldridgeE at cadmus.com
Mon Aug 28 11:44:23 CEST 2000


Also change this line:

sprintf( psz_plugin, "%s%s", psz_plugin_path[i],

to:

sprintf( psz_plugin, "%s/%s", psz_plugin_path[i],

and flail me with wet noodles - I humbly submit :)

Ethan


"Ethan C. Baldridge" wrote:

> Not entirely certain I understand the question ;)
>
> readdir() returns a list of files....
> I go through each directory in the list, check to see if it exists, check
> for applicable files inside it, and try to load them into memory if they're
> there.
>
> Ethan
>
> Samuel Hocevar wrote:
>
> > On Thu, Aug 24, 2000, Ethan C. Baldridge wrote:
> >
> > > Here's a patch (unified diff) that should do the trick.
> >
> >    Thanks for the patch, Ethan, but I'm a bit worried about it. You seem
> > to parse the directory list in a first loop (psz_plugin_path), but I
> > guess you should add an extra loop inside the directory to browse files,
> > shouldn't you ?
> >
> > Regards,
> > --
> > Sam.





More information about the vlc mailing list