From owner-freebsd-hackers Sun Dec 24 09:28:32 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA09416 for hackers-outgoing; Sun, 24 Dec 1995 09:28:32 -0800 (PST) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.64]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA09388 for ; Sun, 24 Dec 1995 09:28:10 -0800 (PST) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id aa02709; 24 Dec 95 17:26 GMT Received: from wbsmail.zipmail.co.uk ([194.70.221.1]) by relay-3.mail.demon.net id aa16074; 24 Dec 95 17:25 GMT Received: from PhilPC (kiss.demon.co.uk [158.152.97.57]) by wbsmail.zipmail.co.uk (8.6.12/8.6.9) with SMTP id RAA10423 for ; Sun, 24 Dec 1995 17:25:55 GMT Message-Id: <199512241725.RAA10423@wbsmail.zipmail.co.uk> Comments: Authenticated sender is From: Phil Taylor Organization: Lan Systems To: hackers@freebsd.org Date: Sun, 24 Dec 1995 17:19:47 +0000 Subject: Small change to ctm-rmail ! Reply-to: phil@zipmail.co.uk Priority: normal X-mailer: Pegasus Mail for Windows (v2.10) Sender: owner-hackers@freebsd.org Precedence: bulk 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 */