Mailing List archive

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

[vdr] Re: overwriting conf-files...



Andreas Kool wrote:
> 
> On Sun, Aug 17, 2003 at 04:36:34PM +0200, Klaus Schmidinger wrote:
> > Andreas Kool wrote:
> 
> [...]
> 
> > > @Klaus: Why does'nt VDR permits *empty* string setup entries
> > > (like "Entry =")?
> >
> > Well, I guess this wasn't necessary so far.
> >
> > You could try changing the line
> >
> >   if (*Name && *Value) {
> >
> > in cSetupLine::Parse() (config.c) to
> >
> >   if (*Name) {
> >
> > I guess this shouldn't have any unwanted side effects and should
> > tolerate empty values.
> 
> Many thanks, but that is not necessary. I'm surrounding the suspicious
> values with ""

Well, you're of course free to do that.
But then you'll also need to take this into account when you
parse the parameters.

I wouldn't mind making this change for the final 1.2.3, but only if
it will actually be of any use, and if you would test it ;-)

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index