K 10 svn:author V 6 emaste K 8 svn:date V 27 2022-11-18T21:00:42.429133Z K 7 svn:log V 722 dma: restore addition of newline when missing from input If input mail does not have a newline on the last line dma must add one. This was broken by the addition of long-line splitting, with the switch from strlen(line) to linelen returned by getline(). PR: 266629 Reviewed by: bapt, Mikko Lehto Tested by: Mikko Lehto MFC after: 1 week Fixes: b0b2d05fd060 ("Split body of mails not respecting...") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36763 (cherry picked from commit 169487223143b1232ec4686b720b028af8d6d42b) (cherry picked from commit bd3d597a6bc0e35273669cfd7a99b3a5b437d92a) Git Hash: de0b782545f725e719f9b3f1ec7f2e6442551086 Git Author: emaste@FreeBSD.org END