Date: Sun, 24 Dec 1995 17:19:47 +0000 From: Phil Taylor <phil@zipmail.co.uk> To: hackers@freebsd.org Subject: Small change to ctm-rmail ! Message-ID: <199512241725.RAA10423@wbsmail.zipmail.co.uk>
next in thread | raw e-mail | index | archive | help
I have made a quick hack to ctm_rmail.c as I have recently subscribed to ctm-src-current and I receive my emails on a novell n/w and pegasus mail for windows which of course uses CR/LF so the following diff strips of the CR, it is pretty dirty but should work OK of anyone else has had this problem. Cheers Phil 274a275,282 > /* > * If the file was created under DOS/Windows strip the CR > * at the end of the line > */ > > if (line[strlen(line)-2] == 13) > line[strlen(line)-2] = 0; > 277a286 > 285d293 < /* Phil Taylor (phil@zipmail.co.uk) LAN Systems - LAN/WAN Specialists */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512241725.RAA10423>