PDA

View Full Version : Bug in Slim::Utils::Misc::findbin



Gregory Gee
2003-12-16, 20:32
There is a bug in Slim::Utils::Misc::findbin. It is searching in the
wrong paths. I have been trying to figure out why the mDNS wasn't
starting on Linux. The slimserver has a 'Bin' directory, but it is trying
to look in 'bin'.

You need to change

push @paths, catdir( $Bin, 'bin', $Config::Config{archname});
push @paths, catdir( $Bin, 'bin', $^O);
push @paths, catdir( $Bin, 'bin');

to this

push @paths, catdir( $Bin, 'Bin', $Config::Config{archname});
push @paths, catdir( $Bin, 'Bin', $^O);
push @paths, catdir( $Bin, 'Bin');

Not sure where else this problem might occur. Who do I tell? Or
are the developers getting fixes right from this list?

Thanks,
Greg

dean
2003-12-16, 21:03
Doh! I'll fix that.


On Dec 16, 2003, at 7:32 PM, Gregory Gee wrote:

>
> There is a bug in Slim::Utils::Misc::findbin. It is searching in the
> wrong paths. I have been trying to figure out why the mDNS wasn't
> starting on Linux. The slimserver has a 'Bin' directory, but it is
> trying
> to look in 'bin'.
>
> You need to change
>
> push @paths, catdir( $Bin, 'bin', $Config::Config{archname});
> push @paths, catdir( $Bin, 'bin', $^O);
> push @paths, catdir( $Bin, 'bin');
>
> to this
>
> push @paths, catdir( $Bin, 'Bin', $Config::Config{archname});
> push @paths, catdir( $Bin, 'Bin', $^O);
> push @paths, catdir( $Bin, 'Bin');
>
> Not sure where else this problem might occur. Who do I tell? Or
> are the developers getting fixes right from this list?
>
> Thanks,
> Greg
>
>
>
>