]> git.ipfire.org Git - thirdparty/mlmmj.git/commit
mlmmj_list: prepare file descriptors
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 28 Oct 2021 07:49:24 +0000 (09:49 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 28 Oct 2021 07:49:24 +0000 (09:49 +0200)
commitd68699aff072a231ec2a1220ff63f2e2f227b6c7
treed32066abeccb1b7c3d809f2e95186fb1168252e7
parent4ba625562e08305ffabc485858f91061b6d7a58e
mlmmj_list: prepare file descriptors

When opening the mailing list, open the directory and keep the file
descriptor open up to the closing.

While here add a controlfd member to make keep a file descriptor on the
control directory on demand if needed
include/mlmmj.h
src/mlmmj.c