summaryrefslogtreecommitdiff
path: root/comsat/action.c
AgeCommit message (Collapse)AuthorFiles
2007-06-27Prepare for the GPL v.3 release. Relicense programs under GPL v.3, libraries ↵Sergey Poznyakoff1
under LPGL v.3
2006-09-27Minor fixesSergey Poznyakoff1
2006-08-29(act_getline): Change return type toSergey Poznyakoff1
unsigned. Return actual number of input lines processed or 0 on failure (either I/O, or memory allocation or EOF). (action_echo): Rewritten to use shell-like syntax (run_user_action): Rewritten main loop to make it cleaner. In particular, expand agruments after word splitting. Use new echo semantics.
2005-08-27Normalize global namespace. Part 2Wojciech Polak1
2005-08-26Normalize global namespace. Part 1Sergey Poznyakoff1
2005-06-27argcv_unescape_char renamed to argcv_unquote_charSergey Poznyakoff1
2005-05-17Updated FSF addressalpha_0_6_90Sergey Poznyakoff1
2005-01-04Revise error messages for accordance with GNU standards:Sergey Poznyakoff1
begin messages with a capital letter, unless they are prefixed with `file:line:' or their exact look is important due to compatibility reasons. Do not end messages with a period. Avoid using contracted negations.
2003-08-20(expand_escape): Use argcv_unescape_char() instead of backslash().Sergey Poznyakoff1
2003-02-09Updated FSF address.Wojciech Polak1
2002-12-25Do not include \r\n to the i18n strings.Sergey Poznyakoff1
2002-12-23Added initial NLS supportWojciech Polak1
2002-02-21argcv_get() now (optionally) strips comments while parsing. Its the rightSam Roberts1
place because it tokenizes, and whether a char is a comment or not depends on whether its in the middle of a token or not: "hi # there" # comment.
2002-01-15(expand_line): Removed unused variable.Sergey Poznyakoff1
2001-11-14Expand \n only for 'echo'Sergey Poznyakoff1
2001-11-13 Try to use const whenever appropriate to make it clearAlain Magloire1
that a string should not be modified. Nuke some trailing spaces, thanks to emacs. Reduce the scope of functions with static. GNU ident style for switch() promote a empty line after the break; * comsat/action.c (expand_escape): size and lncount could have been use uninitialized. (expand_escape): const char *cr. (expand_line): cr == "\n\r" make it const. variable i and size unneeded. variable c initialize to zero. (expand_line): obstack_1grow() pass *p instead of c. (defaul_action): const char*. (run_user_action): fprintf () missing argument. (open_rc): const char *filename. * comsat/comsat.c (username): const char *username. (mailbox_path): const prototype. (change_user): const prototype. (notify_user): const prototype. body and header unneeded variables. (find_user): const prototype. * comsat/comsat.h: Prototype updates.
2001-11-13Exit if execv fails (forgotten to commit)Sergey Poznyakoff1
2001-11-13Use maxlines instead of hardcoding the default value. Exit if execv() fails.Sergey Poznyakoff1
2001-11-12Implemented exec. Fixed trivial bug in expand_escape().Sergey Poznyakoff1
2001-11-11User-defined actions for comsat.Sergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.