Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: overwriting conf-files...
Guido Fiala wrote:
>
> Just a thought about all that configuration-files vdr and it's plugins write:
>
> For unknown reasons i manage sometimes that at least setup.conf is recreated
> from scratch - appearantly something during overwriting the file goes wrong
> and vdr starts up with native values.
>
> I suggest, that vdr does'nt simply delete the setup.conf but rename it to
> setup.conf~ and then rewrite it, similar to many text-editors do...
>
> Strange - but so far i observed that problem only with setup.conf.
VDR uses cSafeFile (tools.c) to write config files, so it first
writes into a temporary file and then, after this has succeeded,
renames the temporary file to the original file name.
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index