Commit ff9293be ff9293be0477fd7c7ae81913c0c61e76ca86090b by Alain Magloire

2001-04-14 Alain Magloire

	* mailbox/folder_imap.c: When calling imap_writeline () the
	cookie for the tag should be unsigned %d --> %u.
	(imap_send) : The number of bytes in memmove was wrong.
	* mailbox/mbx_imap.c: Some duplicate degug calls MAILBOX_DEBUG0()
	removed.
	(attribute_string): IMAP does not have a \\Read flag it should be
	the same as \\Seen so attribute_read() == attribute_seen().
	(flag_string): New function.
	(imap_attr_set_flags): Use flag_string(), instead.
	* mailbox/include/imap0.h:  CLEAR_STATE() should also deselect
	the current mailbox.

	* mailbox/mbx_pop.c (pop_write): The number of bytes in the memmove
	was wrong.

	* imap4d/imap4d.h: Add HAVE_SECURITY_PAM_APPL_H.
	* imap4d/login.c: PAM_ERROR wrongly define.
	* imap4d/expunge.c: Initialise variable sp.
	* imap4d/logout.c: Initialise variable sp.
	* imap4d/noop.c: Initialise variable sp.

	* configure.in: AC_REP_FUNC(vasprintf).
	* include/mailutils/Makefile.am: Add property.h, parse822.h.
	* lib/vasprintf.c: Taken from libit.
	(AM_INIT_AUTOMAKE): Change version to 0.0.9
1 parent 0b549877
2001-04-13 Alain Magloire
2001-04-14 Alain Magloire
* mailbox/folder_imap.c: When calling imap_writeline () the
cookie for the tag should be unsigned %d --> %u.
......@@ -11,10 +11,20 @@
(imap_attr_set_flags): Use flag_string(), instead.
* mailbox/include/imap0.h: CLEAR_STATE() should also deselect
the current mailbox.
* mailbox/mbx_pop.c (pop_write): The number of bytes in the memmove
was wrong.
* lib/vasprintf.c: Taken from libit.
* imap4d/imap4d.h: Add HAVE_SECURITY_PAM_APPL_H.
* imap4d/login.c: PAM_ERROR wrongly define.
* imap4d/expunge.c: Initialise variable sp.
* imap4d/logout.c: Initialise variable sp.
* imap4d/noop.c: Initialise variable sp.
* configure.in: AC_REP_FUNC(vasprintf).
* include/mailutils/Makefile.am: Add property.h, parse822.h.
* lib/vasprintf.c: Taken from libit.
(AM_INIT_AUTOMAKE): Change version to 0.0.9
2001-04-13 Sam Roberts
......
dnl Process this file with autoconf to procude a configure script. -*-m4-*-
AC_INIT(mailbox/mailbox.c)
AM_INIT_AUTOMAKE(mailutils, 0.9.9)
AM_INIT_AUTOMAKE(mailutils, 0.0.9)
AM_CONFIG_HEADER(config.h)
dnl Check for programs
......
......@@ -24,7 +24,7 @@
int
imap4d_expunge (struct imap4d_command *command, char *arg)
{
char *sp;
char *sp = NULL;
if (util_getword (arg, &sp))
return util_finish (command, RESP_NO, "Too many args");
......
......@@ -25,6 +25,10 @@
#define _QNX_SOURCE
#define _GNU_SOURCE
#ifdef HAVE_SECURITY_PAM_APPL_H
#include <security/pam_appl.h>
#endif
#ifdef HAVE_SHADOW_H
#include <shadow.h>
#endif
......
......@@ -29,7 +29,7 @@ static int _perr = 0;
#define PAM_ERROR if (_perr || (pamerror != PAM_SUCCESS)) { \
pam_end(pamh, 0); \
return ERR_BAD_LOGIN; }
return util_finish (command, RESP_NO, "User name or passwd rejected"); }
static int
PAM_gnupop3d_conv (int num_msg, const struct pam_message **msg,
......
......@@ -24,7 +24,7 @@
int
imap4d_logout (struct imap4d_command *command, char *arg)
{
char *sp;
char *sp = NULL;
if (util_getword (arg, &sp))
return util_finish (command, RESP_BAD, "Too many args");
util_out (RESP_BYE, "Logging out");
......
......@@ -21,7 +21,7 @@
int
imap4d_noop (struct imap4d_command *command, char *arg)
{
char *sp;
char *sp = NULL;
if (util_getword (arg, &sp))
return util_finish (command, RESP_BAD, "Too many args");
return util_finish (command, RESP_OK, "Completed");
......
......@@ -18,6 +18,8 @@ pkginclude_HEADERS = \
mime.h \
monitor.h \
observer.h \
parse822.h \
property.h \
registrar.h \
stream.h \
url.h
......