Commit f264b82c f264b82cc1c1378eceec2873f14f86f73f424a8e by Alain Magloire

* doc/Makefile.am: add {c-api,framework,programs}.texi EXTRA_DIST

	* imap4d/imap4d.c (imap4d_usage): Cut and paste typo.
	* pop3d/pop3d.c (pop3d_usage): Cut and paste typo.
	* include/mailutils/Makefile.am: add mutil.h to the list.
	* lib/strisignal.c: Define __P if not set.
	* m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4
	* mail/mail.c (main): typo "z." --> "z"
1 parent 695f2c70
2001-06-25 Alain Magloire
* doc/Makefile.am: add {c-api,framework,programs}.texi EXTRA_DIST
* imap4d/imap4d.c (imap4d_usage): Cut and paste typo.
* pop3d/pop3d.c (pop3d_usage): Cut and paste typo.
* include/mailutils/Makefile.am: add mutil.h to the list.
* lib/strisignal.c: Define __P if not set.
* m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4
* mail/mail.c (main): typo "z." --> "z"
2001-06-25 Sergey Poznyakoff
* mail/if.c: Removed confusing comment.
* mail/copy.c: Split off mail_copy0. It is shared between mail_copy
and mail_save. Implemented Copy command.
Use mailbox_open_default() instead of mailbox_open().
Fixed possible memory leaks.
Fixed possible memory leaks.
* mail/write.c: Implemented Write. Fixed memory leaks.
* mail/Makefile.am: removed discard.c
* mail/discard.c: removed. Implemented in retain.c.
......@@ -127,7 +137,7 @@
use imap_parse_date_time() in util_parse_internal_date0().
(Proposed by Sam).
* imap4d/imap4d.h: Added missing declarations.
* mailbox/mbx_imap.c: Patch from Sam: added imap_parse_date_time().
* mailbox/mbx_imap.c: Patch from Sam: added imap_parse_date_time().
imap_parse_date_time() returns tm/timezone pair.
* mailbox/folder_mbox.c: added #include <sys/types.h>. It is needed
on FreeBSD before inclusion of <dirent.h>
......
......@@ -11,13 +11,16 @@ EXTRA_DIST = \
attribute.texi \
auth.texi \
body.texi \
c-api.texi \
encoding.texi \
ex-address.texi \
framework.texi \
headers.texi \
locker.texi \
mailbox.texi \
mailer.texi \
message.texi \
programs.texi \
sfrom.c.texi \
stream.texi \
url.texi \
......
......@@ -6,6 +6,7 @@ sbin_PROGRAMS = imap4d
imap4d_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a @AUTHLIBS@
imap4d_SOURCES = append.c authenticate.c bye.c capability.c check.c close.c \
commands.c copy.c create.c delete.c examine.c expunge.c fetch.c imap4d.c \
imap4d.h list.c logout.c login.c lsub.c noop.c rename.c search.c select.c \
signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c util.c \
namespace.c
imap4d.h list.c logout.c login.c lsub.c namespace.c noop.c rename.c search.c \
select.c signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c \
util.c
......
......@@ -369,8 +369,7 @@ imap4d_usage (char *argv0)
printf (" -i, --inetd runs in inetd mode (default)\n");
printf (" -p, --port=PORT specifies port to listen on, implies -d\n"
);
printf (" defaults to 143, which need not be specifi
ed\n");
printf (" defaults to 143, which need not be specified\n");
printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n");
printf (" TIMEOUT default is 1800 (30 minutes)\n");
printf (" -v, --version display version information and exit\n");
......
......@@ -18,6 +18,7 @@ pkginclude_HEADERS = \
message.h \
mime.h \
monitor.h \
mutil.h \
observer.h \
parse822.h \
property.h \
......
......@@ -25,6 +25,14 @@
#include <stdio.h>
#endif
#ifndef __P
# ifdef __STDC__
# define __P(args) args
# else
# define __P(args) ()
# endif
#endif /*__P */
/* Some systems do not define NSIG in <signal.h>. */
#ifndef NSIG
# ifdef _NSIG
......
EXTRA_DIST = \
malloc.m4 \
realloc.m4
malloc.m4 \
realloc.m4 \
tm_gmtoff.m4 \
tm_isdst.m4 \
tm_zone.m4
......
......@@ -296,7 +296,7 @@ main (int argc, char **argv)
/* initial commands */
if ((util_find_env("header"))->set)
util_do_command ("z.");
util_do_command ("z");
prompt = util_find_env ("prompt");
mail_set_is_terminal(isatty(0));
......
......@@ -464,8 +464,7 @@ pop3d_usage (char *argv0)
printf (" -i, --inetd runs in inetd mode (default)\n");
printf (" -p, --port=PORT specifies port to listen on, implies -d\n"
);
printf (" defaults to 110, which need not be specifi
ed\n");
printf (" defaults to 110, which need not be specified\n");
printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n");
printf (" TIMEOUT default is 600 (10 minutes)\n");
printf (" -v, --version display version information and exit\n");
......