- Add a "forward" command as requested by garbled@.
From the manpage:
forward
Takes a list of messages and prompts for an address (or
addresses) to forward each message to. If no message list is
specified, the current message is used. The mail editor is run
for each message allowing the user to enter a message that will
precede the forward message. The message is sent as a multi-
part/mixed MIME encoded message.
- Add the ability to match messages that do (or do not) contain a
header field. E.g., the command "f ! /Subject:" will display the
list of messages that are missing a "Subject" field.
- Teach savemail() to prefix fake headlines so the mbox doesn't get
broken.
- Fixed a couple of "bugs" in the attachment editing routine.
is a struct ip6aux. A struct ip6aux used to contain a pointer to
an in6_ifaddr, but that pointer could become a dangling reference
in the lifetime of the m_tag, because ip6_setdstifaddr() did not
increase the in6_ifaddr's reference count. I have removed the
pointer from ip6aux. I load it with the interesting fields from
the in6_ifaddr (an IPv6 address, a scope ID, and some flags),
instead.
in IPsec processing that is dependent on protocol and/or port can be bypassed.
Bug report, analysis and initial fix from Karl Knutsson.
Final patch and ok from degroote@
voltage for different frequencies. The fake table can be computed as
driven by the frequency here as well, but don't recompute the voltage as
it would result in an underflow.
Fix argument order in a debug message to match the format string.
to generate syscall_plain() with #defines to remove the trace calls.
Join the club of making micro-optimisations to this code to speed up
benchmarks of empty system calls (eg getpid()):
- Use __predict_false() to get fewer branches in the 'normal' path.
- Just copy all the arguments from the stack frame to 'args', since the
jump indirect for the switch statement is basically unpredicatable.
- Keep the (rather pointless) test for 0 arguments - just for higher
benchmark scores.
NB system call timing are dominated by other factors! I measured getppid()
as faster than getpid(), sometimes open("foo", -1) was also faster.
I also suspect that if trace_is_enabled(p) were a simple bit test (that
could be inlined), then the cost of the tests would be unmeasurable and
the syscall_plain/fancy fiasco could be expunged completely.