Re: [bug] attributes stuff in options_menu.c broken

Urs Janßen <[email protected]> Mon, 3 Nov 2008 20:50:38 +0100
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Mon, Nov 03, 2008 at 07:25:47PM +0100, Dennis Preiser wrote:
>> I'll try to reproduce that later today (but IIRC the current code is
>> correct).

the change_config_file() code is mostly correct (IMHO it's lacking a
write_attributes_file(local_attributes_file); in the GLOBAL_QUIT case),
but th rest of the code is not (e.g. the read_attributes_files() in select
is wrong (at least if we do not write out the attributes in
change_config_file()) - if you check the contents of 
	group->attribute->trim_article_body
	glob_attributes.trim_article_body
	and tinrc.trim_article_body
in change_config_file() they are updated correct, dunno why gargabe is
written out.

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus