- 19 Sep, 2001 3 commits
-
-
- 18 Sep, 2001 9 commits
-
-
-
-
-
-
-
-
_mh_message_save(): scan the message while saving it. If expunge==0, do not create temporary, operate directly on the message file instead. mh_append_message(): Do not rescan appended message. mh_scan_message(): Do not rescan the message if it's not changed
Sergey Poznyakoff authored -
-
exchanges between the library and the server. * mailbox2/pop3/*: Add debug prints in all. * mailbox2/sdebug.c: New entry. * mailbox2/debug.c: New entry. * mailbox2/Makefile.am: Add debug object * mailbox2/include/mailutils/Makefile.am: Add debug.h * mailbox2/include/mailutils/sys/Makefile.am: Add debug.h and sdebug.h * mailbox2/include/mailutils/debug.h: New file. * mailbox2/include/mailutils/sys/debug.h: New file. * mailbox2/include/mailutils/sys/sdebug.h: New file. * mailbox2/fdstream.c: Bug in fdstream do not call FD_SET if the file descriptor is -1; * mailbox2/tcpstream.c: Bug in fdstream do not call FD_SET if the file descriptor is -1;
Alain Magloire authored
-
- 17 Sep, 2001 16 commits
-
-
-
-
mh_append_message(): missed assignment to mhd member of struct _mh_data. mh_message_number(): new function. It is the only way to get the message sequence number.
Sergey Poznyakoff authored -
-
instead. Implemented -form and -header options. Use \f to clear screen if stdout is not a tty.
Sergey Poznyakoff authored -
-
-
-
mh_append_message(): missed assignment to mhd member of struct _mh_data. mh_message_number(): new function. It is the only way to get the message sequence number.
Sergey Poznyakoff authored -
-
-
API. * doc/pop3.texi: Typos. * mailbox/mbx_mh.c: Initialised variables. Typecast to void expunge since it is never used. * mail/delete.c : Typo.
Alain Magloire authored -
-
-
Basically they recommand to drop the XX_release() functions and only to keep XX_create (), XX_destroy (). We have simple reference count strategy for memory management. * mailbox2/* : Way too much to enumerate. * mailbox2/refcount.c: New file * mailbox2/include/mailutils/refcount.h: New file * mailbox2/include/mailutils/sys/refcount.h: New file * mailbox2/fdstream.c: stream_fd_create ().
Alain Magloire authored
-
- 15 Sep, 2001 2 commits
-
-
-
the code based on the hints generated by the compiler. The usual errors: - signed vs unsigned, signedness or unsignedness problems. - printf() wrong formats - wrong prototypes declarations - and different buglets - "const char *" vs "char *" - unused variables - unused arguments. Tell the compiler by typecasting to void (void)var. - Some variable when shadowed, meaning in another block variable of the same name where reused. - atoi() is not an ANSI C function, we should use strtol(). Changes to comply to GNU coding standards, and nuke trailing spaces. * mail/alias.c (alia_lookup): No prototypes and scope static. (hash_num, max_rehash, aliases): Scope static and unsigned. (hash): unsigned. (alias_rehash): i unsigned. (alias_lookup_or_install): slot variable unused. (alias_destroy): unsigned. * mail/copy.c (mail_copy0): fprintf wrong format. * mail/decode.c: dislay_message change prototype. (mail_decode): Cast when calling util_msgset_iterate(). (display_message): Prototype change. (display_headers): unsigned issues. * mail/delete.c: Buglet was caling mail_delete0() instead of mail_delete. * mail/eq.c: Unused arguments. * mail/exit.c: Unused arguments. * mail/folders.c: Unused arguments. * mail/followup.c: Unused variables. * mail/from.c (mail_from): variable buffer was shadowing use variable name instead. snprintf() formatting issues. * mail/headers.c: Unsigned issues. * mail/if.c: Unused arguments. * mail/inc.c: Unused arguments. * mail/list.c: Use const char *. * mail/mail.c: options[], argp[] initialised all elements. (mail_cmdline): Unused arguments. (main): Unsigned issues. (mail_warranty): Unused arguments. * mail/mail.h: function_t with complete prototype this necessary to let the compiler do proper checks. struct mail_command_entry rearrange the fields and a new field int (*escfunc) __P ((int, char **, struct send_environ *)); Indentation rearrangements. * mail/mailline.c (ml_getc): Scope is static now. typecast for const char *. (ml_reread): Typecast. * mail/msgset.y: Declare yyerror() and yylex(). (msgset_select): Change of prototpe to let the compiler do checks. (selec_sender): Unsused arguments. * mail/pipe.c: Rename variable pipe to tube. * mail/print.c: Unsigness and some shadow variables. * mail/quit.c: Shadow variables. * mail/send.c: Typecast when necessary. Use the second (escfunc) field now. Some shadow variables. * mail/shell.c: Unsigned. * mail/table.c: Readjust the table to correspond to the signature change in mail.h. * mail/tag.c: Prototype change. * mail/util.c (util_msglist_esccmd): New function. (util_find_entry): Prototype change. And check return value of getenv(). (util_screen_lines): Change atoi() to strtoul(). (util_screen_columns): Change atoi() to strtoul(). (util_find_env): Signedness. (util_fullpath): Prototype changed(const). (util_slist_to_string):Protorype changed (const). (util_strcat) :Protorype changed (const). (util_tempfile): const. * mail/var.c: Unsignedness, Unused arguments. (var_quote): Use new function util_msglist_esccmd(). * mail/version.c: Unused arguments. * mail/write.c: printf formats. * mail/z.c: Signedness.
Alain Magloire authored
-
- 14 Sep, 2001 10 commits
-