bareos: master 64a37104

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen master 2014-06-17 13:01 master dd2dd9db Pending
Changeset Multiple "Exclude Dir Containing" Flags not honored

It seems when implementing the Exclude Dir Containing option in the
fileset unlike every other item it doesn't allow you to specify multiple
values for this config item. Which is kind of strange and would make it
somewhat better usable. This patch adds the missing support by just
storing the values in an alist just like all others. This also fixes a
memory leak which happens when you used to specify multiple entries as
then it would overwrite the previous string dupped value with the new
value without freeing the old value.

Fixes 0000311: Multiple "Exclude Dir Containing" Flags not honored
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/find_one.c Diff File