]> git.tuebingen.mpg.de Git - adu.git/commit
new option database-root
authorSebastian Stark <seb@biskalar.de>
Wed, 4 Feb 2009 10:16:01 +0000 (11:16 +0100)
committerSebastian Stark <seb@biskalar.de>
Wed, 4 Feb 2009 12:36:44 +0000 (13:36 +0100)
commitd0bef44ffe5b6f985f4ba6a718e08afb50f096c6
tree4cb16a43ff324231ac62ad75e3d9f434bf707ba1
parent76c1de74e9dbdeef52629632de91a50ed6e20dbe
new option database-root

If database-root is given, the database dir is computed by
appending the base dir to it. Obviously this works only if
base dir is given, even for select mode.
The needed directory structure is created below database-root
by the new function mkpath(), which recursively creates any
directory needed to copy the structure of base dir. This
has the side-effect that the database dir is always created
for the user (if permissions allow) which wasn't the case
before.

database_dir is now a global variable just like conf and should
be used whenever conf.database_dir_arg was used before.
adu.c
adu.ggo
adu.h
error.h
fd.c
fd.h
user.c