summaryrefslogtreecommitdiffstats
path: root/gnu/libexec
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-02 23:10:39 +0000
committerache <ache@FreeBSD.org>1994-10-02 23:10:39 +0000
commit0de02f5d1337114c139f3277510eb1d501ac3678 (patch)
tree024b4cdce201ecb4d4c1016126004ac0ff8c5931 /gnu/libexec
parentf8b904415bfa1a6bffca86bf43c7be9450900d32 (diff)
downloadFreeBSD-src-0de02f5d1337114c139f3277510eb1d501ac3678.zip
FreeBSD-src-0de02f5d1337114c139f3277510eb1d501ac3678.tar.gz
Make ~%take work: ignore \r
Obtained from: taylor-list
Diffstat (limited to 'gnu/libexec')
-rw-r--r--gnu/libexec/uucp/cu/cu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/cu/cu.c b/gnu/libexec/uucp/cu/cu.c
index 795d5cf..54516b6 100644
--- a/gnu/libexec/uucp/cu/cu.c
+++ b/gnu/libexec/uucp/cu/cu.c
@@ -26,7 +26,7 @@
#include "uucp.h"
#if USE_RCS_ID
-const char cu_rcsid[] = "$Id: cu.c,v 1.28 1994/01/30 21:01:46 ian Rel $";
+const char cu_rcsid[] = "$Id: cu.c,v 1.2 1994/05/07 18:09:54 ache Exp $";
#endif
#include "cu.h"
@@ -1896,6 +1896,9 @@ icutake (puuconf, argc, argv, pvar, pinfo)
break;
}
+ if (b == '\r')
+ continue;
+
if (ceoflen == 0)
{
if (cfilewrite (e, &b, 1) != 1)
OpenPOWER on IntegriCloud