* <many>: (WIP) use ~/mu/xapian as the database with an embedded version tag

- add checks in the code to make sure the database is up to date,
    if not, warn the user.
This commit is contained in:
Dirk-Jan C. Binnema
2010-01-23 20:50:06 +02:00
parent d5aa4e92e0
commit 501ce008d3
15 changed files with 265 additions and 29 deletions

View File

@ -183,8 +183,9 @@ mu_config_init (MuConfigOptions *opts, int *argcp, char ***argvp)
/* set dirmode before, because '0000' is a valid mode */
opts->dirmode = 0755;
if (!parse_params (opts, argcp, argvp))
return FALSE;
if (argcp && argvp)
if (!parse_params (opts, argcp, argvp))
return FALSE;
if (!opts->muhome)
opts->muhome = guess_muhome ();