1. 09 Oct, 2010 1 commit
  2. 05 Jan, 2010 1 commit
  3. 11 Jul, 2009 1 commit
    • * NEWS: Update.
      * doc/texinfo/programs.texi: Document new variables and commands.
      * mail/envelope.c: New file.
      * mail/mailvar.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add envelope.c and mailvar.c.
      
      * mail/mail.h (EF_HIDDEN): New constant
      (mail_env_data_t, mail_env_entry, mail_env_entry_is_set)
      (mail_env_entry, util_getenv, util_printenv, util_setenv)
      (var_iterator_t, var_iterate_next, var_iterate_first)
      (var_iterate_end, var_compl): Removed.
      
      (union mailvar_value, struct mailvar_variable
      (mail_variable, mail_envelope, print_envelope)
      (mailvar_find_variable, mailvar_get, mailvar_print)
      (mailvar_variable_format, mailvar_set, mailvar_set_compl): Add prototypes.
      (MOPTF_OVERWRITE, MOPTF_QUIET)
      
      * mail/table.c: List new commands: envelope, setq, variable.
      Implement completion for `set'.
      * mail/testsuite/mail/if.exp: Use setq to set a read-only variable.
      
      mail/alias.c, mail/decode.c, mail/delete.c, mail/escape.c
      mail/file.c, mail/folders.c, mail/from.c, mail/if.c,
      mail/mail.c, mail/mailline.c, mail/msgset.y, mail/pipe.c,
      mail/print.c, mail/quit.c, mail/reply.c, mail/send.c,
      mail/set.c, mail/shell.c, mail/top.c, mail/unset.c,
      mail/util.c: Use mailvar functions.
      Sergey Poznyakoff authored
  4. 28 Jun, 2007 1 commit
  5. 27 Jun, 2007 1 commit
  6. 30 Oct, 2005 1 commit
  7. 17 May, 2005 1 commit
  8. 04 Jan, 2005 1 commit
  9. 08 Apr, 2004 1 commit
  10. 03 Feb, 2004 1 commit
  11. 23 Mar, 2003 1 commit
  12. 09 Feb, 2003 1 commit
  13. 23 Dec, 2002 1 commit
  14. 07 Aug, 2002 1 commit
  15. 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
  16. 30 Jun, 2001 1 commit
  17. 25 Jun, 2001 1 commit
  18. 22 Jun, 2001 1 commit
  19. 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
  20. 02 Sep, 2000 1 commit