Re: [PATCH] batch mode and cmd-line option treatment
Dennis Preiser <[email protected]> Sat, 18 Jul 2009 12:28:11 +0200
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On 17.07.2009, at 23:41, Urs Janßen wrote: > On Fri, Jul 17, 2009 at 08:48:15PM +0200, Dennis Preiser wrote: >> - I removed write_config_file() after create_mail_save_dirs() in >> main.c. (no changes during startup -> no need to write the config >> file) > > IIRC the create_mail_save_dirs() was some kind of 'first usage' check, > with the new code some files in $TIN_HOMEDIR/.tin are created but > tinrc is > not > > testcase: > > TIN_HOMEDIR=/tmp tin -vZ > ls -la /tmp/.tin tin uses ~/.tin/tinrc and ~/.tin/attributes regardless of TIN_HOMEDIR (that's my guess after looking at the timestamps). The directory handling seems to be broken somewhere. Try setting TIN_HOMEDIR to a nonexistent dir. I will take a closer look at this to see what happens exactly. Dennis