Re: [PATCH] batch mode and cmd-line option treatment
Urs Janßen <[email protected]> Sat, 18 Jul 2009 18:58:07 +0200
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 18, 2009 at 02:55:29PM +0100, Jason Faultless wrote:
> > The directory handling seems to be broken somewhere. Try setting
I've used TIN_HOMEDIR quiet a lot in the past for testing and never noticed
any defects.
> > TIN_HOMEDIR to a nonexistent dir.
can't see any big defect here, it can't reed the files from the specified
location -> uses internal defaults. can't save to the specifed location ->
uses internal defaults (overwrited the old files).
> That wouldn't surprise me at all. I did some tidy up here and there on
> that long ago but from what I recall of the code it's very over featured.
> It will read all sorts of things from all sorts of places depending on all
> sorts of config options and env vars!
if remove the dependency for write_config_file() from
create_mail_save_dirs() we should do something like
create_mail_save_dirs();
if (created_rcdir) /* first start */
write_config_file(local_config_file);
instead.
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