Age | Commit message (Collapse) | Author | Files |
|
under LPGL v.3
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|