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
1 2001-06-25 Alain Magloire
2
3 * doc/Makefile.am: add {c-api,framework,programs}.texi EXTRA_DIST
4 * imap4d/imap4d.c (imap4d_usage): Cut and paste typo.
5 * pop3d/pop3d.c (pop3d_usage): Cut and paste typo.
6 * include/mailutils/Makefile.am: add mutil.h to the list.
7 * lib/strisignal.c: Define __P if not set.
8 * m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4
9 * mail/mail.c (main): typo "z." --> "z"
10
1 2001-06-25 Sergey Poznyakoff 11 2001-06-25 Sergey Poznyakoff
2 * mail/if.c: Removed confusing comment. 12 * mail/if.c: Removed confusing comment.
3 * mail/copy.c: Split off mail_copy0. It is shared between mail_copy 13 * mail/copy.c: Split off mail_copy0. It is shared between mail_copy
......
...@@ -11,13 +11,16 @@ EXTRA_DIST = \ ...@@ -11,13 +11,16 @@ EXTRA_DIST = \
11 attribute.texi \ 11 attribute.texi \
12 auth.texi \ 12 auth.texi \
13 body.texi \ 13 body.texi \
14 c-api.texi \
14 encoding.texi \ 15 encoding.texi \
15 ex-address.texi \ 16 ex-address.texi \
17 framework.texi \
16 headers.texi \ 18 headers.texi \
17 locker.texi \ 19 locker.texi \
18 mailbox.texi \ 20 mailbox.texi \
19 mailer.texi \ 21 mailer.texi \
20 message.texi \ 22 message.texi \
23 programs.texi \
21 sfrom.c.texi \ 24 sfrom.c.texi \
22 stream.texi \ 25 stream.texi \
23 url.texi \ 26 url.texi \
......
...@@ -6,6 +6,7 @@ sbin_PROGRAMS = imap4d ...@@ -6,6 +6,7 @@ sbin_PROGRAMS = imap4d
6 imap4d_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a @AUTHLIBS@ 6 imap4d_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a @AUTHLIBS@
7 imap4d_SOURCES = append.c authenticate.c bye.c capability.c check.c close.c \ 7 imap4d_SOURCES = append.c authenticate.c bye.c capability.c check.c close.c \
8 commands.c copy.c create.c delete.c examine.c expunge.c fetch.c imap4d.c \ 8 commands.c copy.c create.c delete.c examine.c expunge.c fetch.c imap4d.c \
9 imap4d.h list.c logout.c login.c lsub.c noop.c rename.c search.c select.c \ 9 imap4d.h list.c logout.c login.c lsub.c namespace.c noop.c rename.c search.c \
10 signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c util.c \ 10 select.c signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c \
11 namespace.c 11 util.c
12
......
...@@ -369,8 +369,7 @@ imap4d_usage (char *argv0) ...@@ -369,8 +369,7 @@ imap4d_usage (char *argv0)
369 printf (" -i, --inetd runs in inetd mode (default)\n"); 369 printf (" -i, --inetd runs in inetd mode (default)\n");
370 printf (" -p, --port=PORT specifies port to listen on, implies -d\n" 370 printf (" -p, --port=PORT specifies port to listen on, implies -d\n"
371 ); 371 );
372 printf (" defaults to 143, which need not be specifi 372 printf (" defaults to 143, which need not be specified\n");
373 ed\n");
374 printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n"); 373 printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n");
375 printf (" TIMEOUT default is 1800 (30 minutes)\n"); 374 printf (" TIMEOUT default is 1800 (30 minutes)\n");
376 printf (" -v, --version display version information and exit\n"); 375 printf (" -v, --version display version information and exit\n");
......
...@@ -18,6 +18,7 @@ pkginclude_HEADERS = \ ...@@ -18,6 +18,7 @@ pkginclude_HEADERS = \
18 message.h \ 18 message.h \
19 mime.h \ 19 mime.h \
20 monitor.h \ 20 monitor.h \
21 mutil.h \
21 observer.h \ 22 observer.h \
22 parse822.h \ 23 parse822.h \
23 property.h \ 24 property.h \
......
...@@ -25,6 +25,14 @@ ...@@ -25,6 +25,14 @@
25 #include <stdio.h> 25 #include <stdio.h>
26 #endif 26 #endif
27 27
28 #ifndef __P
29 # ifdef __STDC__
30 # define __P(args) args
31 # else
32 # define __P(args) ()
33 # endif
34 #endif /*__P */
35
28 /* Some systems do not define NSIG in <signal.h>. */ 36 /* Some systems do not define NSIG in <signal.h>. */
29 #ifndef NSIG 37 #ifndef NSIG
30 # ifdef _NSIG 38 # ifdef _NSIG
......
1 EXTRA_DIST = \ 1 EXTRA_DIST = \
2 malloc.m4 \ 2 malloc.m4 \
3 realloc.m4 3 realloc.m4 \
4 tm_gmtoff.m4 \
5 tm_isdst.m4 \
6 tm_zone.m4
4 7
......
...@@ -296,7 +296,7 @@ main (int argc, char **argv) ...@@ -296,7 +296,7 @@ main (int argc, char **argv)
296 296
297 /* initial commands */ 297 /* initial commands */
298 if ((util_find_env("header"))->set) 298 if ((util_find_env("header"))->set)
299 util_do_command ("z."); 299 util_do_command ("z");
300 300
301 prompt = util_find_env ("prompt"); 301 prompt = util_find_env ("prompt");
302 mail_set_is_terminal(isatty(0)); 302 mail_set_is_terminal(isatty(0));
......
...@@ -464,8 +464,7 @@ pop3d_usage (char *argv0) ...@@ -464,8 +464,7 @@ pop3d_usage (char *argv0)
464 printf (" -i, --inetd runs in inetd mode (default)\n"); 464 printf (" -i, --inetd runs in inetd mode (default)\n");
465 printf (" -p, --port=PORT specifies port to listen on, implies -d\n" 465 printf (" -p, --port=PORT specifies port to listen on, implies -d\n"
466 ); 466 );
467 printf (" defaults to 110, which need not be specifi 467 printf (" defaults to 110, which need not be specified\n");
468 ed\n");
469 printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n"); 468 printf (" -t, --timeout=TIMEOUT sets idle timeout to TIMEOUT seconds\n");
470 printf (" TIMEOUT default is 600 (10 minutes)\n"); 469 printf (" TIMEOUT default is 600 (10 minutes)\n");
471 printf (" -v, --version display version information and exit\n"); 470 printf (" -v, --version display version information and exit\n");
......