History log of /src/usr.bin/mail/dotlock.c |
Revision | | Date | Author | Comments |
1.14 |
| 17-Feb-2021 |
christos | add O_CLOEXEC
|
1.13 |
| 04-Jul-2015 |
christos | fix infinite loop
|
1.12 |
| 04-Jul-2015 |
christos | If we fail 5 times in a row, fail correctly (Steffen Nurpmeso).
|
1.11 |
| 21-Oct-2009 |
snj | Remove 3rd and 4th clauses in christos' license. OK christos.
|
1.10 |
| 10-Apr-2009 |
christos | From Anon Ymous:
- Remove all longjmp(3) calls from signal handlers. Instead, we post to an internal signal queue and check that periodically. All signal related code is now in sig.c, except for the SIGCHLD handler which remains in popen.c as it is intimately tied to routines there.
- Handle SIGPIPE in type1() regardless of mime support, or else the handler in execute() will prevent our error code from being returned resulting in 'sawcom' not being set on the first command as it should. This only affected the initial behavior of the "next" command without mime support.
- Add the 'T' flag to many commands in cmdtab.c that should not look like the first command. E.g., start mail on a mailbox with multiple messages, run "set foo", then "next", and watch the second message get displayed rather than the first as is the case without the first "set" command.
- Add file descriptor and file handle leak detection. Enabled by DEBUG_FILE_LEAK. This will likely disappear in the future.
- Fix a long standing (since import in 1993) longjmp() bug in edstop(): the jmpbuf was invalid when quit() is called at the end of main.
- Fix a long standing bug (since import in 1993) in snarf() where it didn't strip whitespace correctly if the line consisted only of whitespace.
- Lint cleanup.
- New Feature: "Header" command. This allows miscellaneous header fields to be added to the header, e.g., "X-Organization:" or "Reply-To:" fields.
- New Feature: "page-also" variable. This allows the specification of additional commands to page. It is more flexible than "crt".
- Document the "pager-off" variable: if set, it disables paging entirely.
|
1.9 |
| 29-Oct-2007 |
christos | branches: 1.9.14; From Anon Ymous: knf changes: - s/sizeof x/sizeof(x)/. - remove unnecessary malloc typecasts. - whitespace nits.
|
1.8 |
| 28-Nov-2006 |
christos | branches: 1.8.8; From Anon Ymous:
1) Statification of modules.
2) Implement the 'detach' and 'Detach' commands for extracting mime parts from messages.
3) Teach mail to output "In-Reply-To" and "References" header fields when replying so others can thread us.
4) Implement threading, sorting, and tagging, supported by the following commands: 'flatten', 'reverse', 'sort', 'thread', 'unthread', 'down', 'tset', 'up', 'expose', 'hide', 'tag', 'untag', 'invtags', 'tagbelow', 'hidetags', 'showtags'. See the manpage for details (when available - soon).
5) Implement a 'deldups' command to delete duplicate messages based on their "Message-Id" field, e.g., in replies to a mailing list that are also CCed to a subscriber. (This can also be accomplished with the threading and tagging commands.)
6) Implement 'ifdef' and 'ifndef' commands, and make the conditionals nestable (i.e., implement a conditional stack). The if/else/endif commands existed before, but they were primitive and undocumented. The 'if' command currently recognizes the "receiving", "sending", and "headersonly" mode keywords.
7) Teach the message selecting routine to understand regular expressions if "regex-search" is defined. Otherwise only case insensitive substring matches are done (as in the past).
8) Teach the message selection routine to understand boolean expressions. Improved "colon-modifier" support. See the manpage for details (when available - soon).
9) Extend paging to all commands (where relevant).
10) Add shell like piping and redirection of (standard) output (if "enable-piping" is defined). Extend completion to these contexts.
11) The manpage should follow soon!!!!
|
1.7 |
| 19-Jul-2005 |
christos | Pass lint completely.
|
1.6 |
| 05-Mar-2002 |
wiz | KNF: No space after casts.
|
1.5 |
| 02-Mar-2002 |
wiz | ANSIfy, and minimal KNF.
|
1.4 |
| 06-Jul-1998 |
mrg | - use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
|
1.3 |
| 19-Oct-1997 |
mrg | fix compile warnings on the alpha.
|
1.2 |
| 19-Oct-1997 |
lukem | WARNSify, fix .Nm usage, deprecate register, use <err.h>
|
1.1 |
| 08-Jun-1996 |
christos | - Fix PR/105: Implement dot locking protocol and check return value of flock. - Fix PR/2247: Don't call unknown users "ubluit". Issue an error message. - Fix/add prototypes. - Fix warnings. - Use POSIX signal mask calls. - RCSid police.
|
1.8.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.9.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|