commit effe59f3df8e35e540b9fcbebe2295138800b16f Author: Aaron LI <a...@aaronly.me> Date: Sun Nov 10 10:27:24 2019 +0800
calendar(1): Refactor mail header composition and sending * Use 'struct iovec header[]' to hold all mail headers, and then use writev(2) to write them into the pipe. * Explicitly set 'LC_TIME=C' when formating the date string for the mail header. Obtained-from: OpenBSD Summary of changes: usr.bin/calendar/calendar.h | 1 + usr.bin/calendar/day.c | 6 +++++- usr.bin/calendar/io.c | 23 +++++++++++++++-------- 3 files changed, 21 insertions(+), 9 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/effe59f3df8e35e540b9fcbebe2295138800b16f -- DragonFly BSD source repository