* 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"
Showing
9 changed files
with
36 additions
and
12 deletions
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 |
4 | and mail_save. Implemented Copy command. | 14 | and mail_save. Implemented Copy command. |
5 | Use mailbox_open_default() instead of mailbox_open(). | 15 | Use mailbox_open_default() instead of mailbox_open(). |
6 | Fixed possible memory leaks. | 16 | Fixed possible memory leaks. |
7 | * mail/write.c: Implemented Write. Fixed memory leaks. | 17 | * mail/write.c: Implemented Write. Fixed memory leaks. |
8 | * mail/Makefile.am: removed discard.c | 18 | * mail/Makefile.am: removed discard.c |
9 | * mail/discard.c: removed. Implemented in retain.c. | 19 | * mail/discard.c: removed. Implemented in retain.c. |
... | @@ -127,7 +137,7 @@ | ... | @@ -127,7 +137,7 @@ |
127 | use imap_parse_date_time() in util_parse_internal_date0(). | 137 | use imap_parse_date_time() in util_parse_internal_date0(). |
128 | (Proposed by Sam). | 138 | (Proposed by Sam). |
129 | * imap4d/imap4d.h: Added missing declarations. | 139 | * imap4d/imap4d.h: Added missing declarations. |
130 | * mailbox/mbx_imap.c: Patch from Sam: added imap_parse_date_time(). | 140 | * mailbox/mbx_imap.c: Patch from Sam: added imap_parse_date_time(). |
131 | imap_parse_date_time() returns tm/timezone pair. | 141 | imap_parse_date_time() returns tm/timezone pair. |
132 | * mailbox/folder_mbox.c: added #include <sys/types.h>. It is needed | 142 | * mailbox/folder_mbox.c: added #include <sys/types.h>. It is needed |
133 | on FreeBSD before inclusion of <dirent.h> | 143 | on FreeBSD before inclusion of <dirent.h> | ... | ... |
... | @@ -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"); | ... | ... |
... | @@ -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 | ... | ... |
... | @@ -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"); | ... | ... |
-
Please register or sign in to post a comment