- 27 Jun, 2007 1 commit
-
-
- 29 Aug, 2006 1 commit
-
-
- 23 Jan, 2006 1 commit
-
-
- 11 Aug, 2005 2 commits
-
-
inconsistency. (var_shell,var_command,var_help,var_sign,var_bcc) (var_cc,var_deadletter,var_editor,var_print,var_headers) (var_insert,var_quote,var_type_input,var_read,var_subj) (var_to,var_visual,var_write,var_exit,var_pipe): Renamed: s/var_/escape_/. All callers updated
Sergey Poznyakoff authored -
data type (mail_find_command,mail_command_help,mail_command_list) (mail_command_name,mail_find_escape,mail_escape_help): New functions
Sergey Poznyakoff authored
-
- 17 May, 2005 1 commit
-
-
- 27 Apr, 2004 1 commit
-
-
- 28 Oct, 2003 1 commit
-
-
- 25 Sep, 2003 1 commit
-
-
- 09 Feb, 2003 1 commit
-
-
- 23 Dec, 2002 1 commit
-
-
- 02 Oct, 2002 1 commit
-
-
- 14 Oct, 2001 1 commit
-
-
- 15 Sep, 2001 1 commit
-
-
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
-
- 23 Aug, 2001 1 commit
-
-
- 06 Aug, 2001 1 commit
-
-
- 26 Jul, 2001 1 commit
-
-
But it is clearly not flexible enough: decode [msgno] [part] ? decode 28 2 Suppose message 28 is a mime with two part, the second part will be decoded and sent to stdout. * mail/decode.c: First implementation behind Jakobs idea.
Alain Magloire authored
-
- 21 Jul, 2001 1 commit
- 04 Jul, 2001 1 commit
-
-
reseting the number of lines to default screen lines. * mail/mail.c (main): Add a "summary" call also for the initial commands on startup(in interactive). * mail.h: Proto for mail_summary() and mail_version(). * table.c: Add mail_summary() and mail_version() in the cmd table. * util.c (util_getcols): First try an ioctl(TIOCGWINSZ,..) call not all shells set the COLUMNS environ. (util_getlines): Likewised. Also take to account the prompt in the lines number. * z.c (mail_z): Change the behaviour of "z." to show a screenfull when the lastpage is reach. This is very practical when starting mail, since "z." is the initial command to show the header summary. * mail/version.c: New file, show mail version, mail_version(). * mail/summary.c: New file, display a short summary of the mailbox. mail_summary(). * mail/Makefile.am: add summary.c and version.c * mailbox2/include/mailutils/mbox.h: Proto for Unix-Mbox.
Alain Magloire authored
-
- 03 Jul, 2001 1 commit
-
-
- 30 Jun, 2001 1 commit
-
-
- 26 Jun, 2001 1 commit
-
-
- 22 Jun, 2001 1 commit
-
-
- 16 Apr, 2001 1 commit
-
-
attempt to assign to it. To be able to redirect at will stdout we need to assign it. In GNU lib C, it was not error since stdout stderr, and stdin are variables, but to be portable we can not assume this. The way out is to always use fprintf () and have a global varialbe "ofile" pointing to stdout. * mail/*: All the files under mail been change to use fprintf() and ofile as the default stdout. Copyright updated.
Alain Magloire authored
-
- 07 Sep, 2000 2 commits
-
- 06 Sep, 2000 1 commit
-
-
- 05 Sep, 2000 2 commits
-
-
-
Beginning of mailx command mail (in send.c) Merge printall into print, remove printall.c
Jakob Kaivo authored
-
- 04 Sep, 2000 2 commits
-
-
tweak bang, set, shell in mail fixup list and stat in pop3d minor dele tweaking in pop3d
Jakob Kaivo authored -
Begin the great IMAP4d rewrite - most of the infrastructure is there, now just fill in the blanks
Jakob Kaivo authored
-