diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-06 11:59:20 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-06 11:59:20 +0200 |
commit | 8b573cdca1f2d71184531a2bbeb1263b116d1dac (patch) | |
tree | 02e327b33a55b4a6f924f775b533e8cf545c152c /libmailutils/server/msrv.c | |
parent | 94c35a24f30d8c61c1306f59979ae13ffb80fdb3 (diff) | |
download | mailutils-8b573cdca1f2d71184531a2bbeb1263b116d1dac.tar.gz mailutils-8b573cdca1f2d71184531a2bbeb1263b116d1dac.tar.bz2 |
Move biff notification to the library. Implement it in inc and movemail.
* include/mailutils/mailbox.h (mu_mailbox_set_notify)
(mu_mailbox_unset_notify): New protos.
* include/mailutils/sys/mailbox.h (_mu_mailbox) <notify_user>
<notify_fd,notify_sa>: New members.
* libmailutils/mailbox/Makefile.am (libmailbox_la_SOURCES): Add
biffnotify.c
* libmailutils/mailbox/biffnotify.c: New file.
* libmailutils/mailbox/mailbox.c (_mailbox_create_from_record): Initialize
notify_fd.
(mu_mailbox_destroy): Free notify_sa.
(mu_mailbox_close): Close notify_fd.
(mu_mailbox_flush): Rewrite to handle append-only mailboxes effectively.
* libmailutils/server/msrv.c (server_cfg_param): Fix docstring.
* libmailutils/stream/file_stream.c (fd_open): Open fd read-write if
both MU_STREAM_APPEND and MU_STREAM_READ are requested.
* libproto/mbox/mbox.c (mbox_expunge0): Rescan the mailbox if
messages_count == 0. Special handling for append-only mailboxes.
* maidag/deliver.c: Use library notification mechanism.
* mh/inc.c: New option --notify.
* movemail/movemail.c: Likewise.
Diffstat (limited to 'libmailutils/server/msrv.c')
-rw-r--r-- | libmailutils/server/msrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/server/msrv.c b/libmailutils/server/msrv.c index 6d0c02978..fd2796599 100644 --- a/libmailutils/server/msrv.c +++ b/libmailutils/server/msrv.c @@ -917,7 +917,7 @@ static struct mu_cfg_param dot_server_cfg_param[] = { static struct mu_cfg_param server_cfg_param[] = { { "single-process", mu_cfg_bool, NULL, mu_offsetof (struct mu_srv_config, single_process), NULL, - N_("Run this server in foreground.") }, + N_("Do not spawn sub-process to handle requests in this server.") }, { "transcript", mu_cfg_bool, NULL, mu_offsetof (struct mu_srv_config, transcript), NULL, N_("Log the session transcript.") }, |