History log of /src/usr.bin/mail/sig.c |
Revision | | Date | Author | Comments |
1.4 |
| 27-Nov-2021 |
rillig | usr.bin: remove unnecessary CONSTCOND, lint no longer needs it
Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especially in statement-like macros.
|
1.3 |
| 12-Jun-2012 |
christos | make sure that signal handlers are always initialized.
|
1.2 |
| 10-Jan-2011 |
dyoung | branches: 1.2.6; Rename sigqueue to sigq to avoid clashing with sigqueue(2). Now this builds again.
|
1.1 |
| 10-Apr-2009 |
christos | branches: 1.1.2; 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.1.2.2 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.1.2.1 |
| 10-Apr-2009 |
jym | file sig.c was added on branch jym-xensuspend on 2009-05-13 19:19:56 +0000
|
1.2.6.1 |
| 30-Oct-2012 |
yamt | sync with head
|