SOLVED Re: option parsing for --log still broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Klaus, 

On Tue, Nov 17, 2020 at 06:15:51PM +0100, Klaus Schmidinger wrote:
> This should do, too:
> 
> --- vdr.c       2020/05/18 16:47:29     4.33
> +++ vdr.c       2020/11/17 17:11:51
> @@ -422,6 +422,7 @@
>                            SysLogLevel = l;
>                            if (!p)
>                               break;
> +                          *p = '.';

Yes, that's much better. Just tried it and I can confirm it works. The command
line in ps now looks like

/usr/bin/vdr -v /video ... --log=2.6 -P epgsearch ...

Before, the respective part looked like "--log=2 6" and everything after
it was ignored by vdr, ie plugins not loaded. 

And it logs to LOCAL6 just fine. 

Just building new Ubuntu focal vdr-2.4.1 package. I suggest to put this patch upstream because
it will cure a couple of people's headaches ;-) 

Thank you! 

-- 
Tomorrow, this will be part of the unchangeable past but fortunately,
it can still be changed today.

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux