- 14 Sep, 2001 8 commits
-
-
-
-
-
-
-
-
Fixed bug in cyclic stream pool handling. Lowered MAX_OPEN_STREAMS limit. It probably should be configurable.
Sergey Poznyakoff authored
-
- 10 Sep, 2001 4 commits
-
-
- 09 Sep, 2001 7 commits
-
-
by gcc (-Wall, etc ...) * mailbox/mbx_mh.c: Add include for pthread. seq_number is size_t. (_mh_message_name): The problem here is that asprintf() is a GNU extension. We want libmailbox to be as independent as possible, so it will not be required for program to be link with libmailutils(it is not even install). Default to snprintf (). (mh_close): return an int. (_mh_message_insert): n should be size_t.
Alain Magloire authored -
-
-
-
-
object was that select() was not cover, meaning it was not possible to check if a stream was {read,write} ready. The old was to get the fd (stream_get_fd()) and do the select. Providing, stream_is_readready (stream_t, int timeout); stream_is_writeready (stream_t, int timeout); stream_is_exceptionpending (stream_t, int timeout); stream_is_open (stream_t); Takes care of it. It will work specially for tcp stream. * mailbox2/stream.c: New functions for the select calls: (stream_is_readready): New function. (stream_is_writeready): New function.(stream_t, int timeout); (stream_is_exceptionpending): New function. (stream_is_open): New function. * mailbox2/bstream.c (_bs_readline): Bug was truncating the string to early. (_bs_is_readready): New file. (_bs_is_writeready): New file. (_bs_is_exceptionpending): New file. (_bs_is_open): New file. * mailbox2/fstream.c: stubs for the select functions. * mailbox2/memstream.c: stubs for the select functions. * mailbox2/mapstream.c: stubs for the select functions. * mailbox2/tcpstream.c: stubs for the select functions. * mailbox2/include/mailutils/stream.h: Adjust the prototypes * mailbox2/include/mailutils/sys/stream.h: Adjust the prototypes It is better not to put threading (Pthread) code in the low level API. But instead in mailbox_t framework, where it can be control. * mailbox2/include/mailutils/pop3.h: Adjust the prototypes. * mailbox2/pop3/*.c: Remove threading code.
Alain Magloire authored
-
- 08 Sep, 2001 9 commits
-
-
mode. In read-write, it is able to delete and undelete messages but lacks `append message' functionality. Expunge does not unlink message files but rather renames them prepending ',' to a filename, after MH fashion.
Sergey Poznyakoff authored -
-
-
-
-
-
-
-
mode. In read-write, it is able to delete and undelete messages but lacks `append message' functionality. Expunge does not delete message files but rather renames them prepending ',' to a filename, after MH fashion.
Sergey Poznyakoff authored
-
- 07 Sep, 2001 1 commit
-
-
- 05 Sep, 2001 4 commits
-
-
-
calls (noticeable on imap4d when doing multiple login attempts). Provide configurable parameters to mysql_real_reconnect to allow connecting to the remote database and/or non-standard ports.
Sergey Poznyakoff authored -
-
- 04 Sep, 2001 2 commits
-
-
* mailbox/mailbox.c (mailbox_get_debug): Get the mu_debug_t object from the folder if available. * mailbox/mbx_imap.c (imap_append_message): Check for EAGAIN. (imap_header_get_value): If the operation return 0, set error to ENOENT.
Alain Magloire authored -
* include/mailutils/parse822.h: Add a prototype for parse822_skip_nl(). * lib/Makefile.am: add fgetpwent.c * lib/fgetpwent.c: New file. * mail/from.c (mail_from): Use the cover functions attribute_is_xxxx() instead of getting the flag. * mailbox/attribute.c: Cleanup the mess. attribute_set_{read,delete,seen,flagged,answered}. attribute_unset_{read,delete,seen,flagged,answered}. attribute_is_{read,delete,seen,flagged,answered} should be no more then cover functions calling attribute_set_flags(), attribute_get_flags() and attribute_unset_flags(). * mailbox/folder_imap.c: MU_ATTRIBUTE_READ, is not part of IMAP protocol use \\Seen. * mailbox/mbx_imap.c: Remove the hack trying to reconnect, it does not work. * mailbox/mbx_pop.c(pop_get_messages): Set the new functions for the attribute. (pop_get_attribute): New functions. (pop_set_attribute): New functions. (pop_unset_attribute): New functions. (pop_attr_flags): Removed. * mutil.c (mu_hex2ul): GNU coding std. (parse822_time): Do not use tzname as a variable name tzname is global variable in libc, better clear away. (parse822_date_time): Likewised. * pop3d/Makefile.am: add virtual.c * pop3d/pop3d.c (main): register getpwnam_ip_virtual, getpwnam_host_virtual * pop3d/pop3d.h: declare, getpwnam_ip_virtual(), getpwnam_host_virtual(). * pop3d/virtual.c: New file.
Alain Magloire authored
-
- 02 Sep, 2001 1 commit
-
-
reserve enough space to accomodate the extra slash, when doing the sprintf(). Include <string.h>, since we use strdup().
Alain Magloire authored
-
- 31 Aug, 2001 4 commits
-
-