openbsd-ports/comms/kermit/patches/patch-ckucmd_c
2001-09-11 00:18:44 +00:00

14 lines
442 B
Plaintext

$OpenBSD: patch-ckucmd_c,v 1.1 2001/09/11 00:18:45 brad Exp $
--- ckucmd.c.orig Sun Nov 24 19:20:49 1996
+++ ckucmd.c Mon Sep 10 19:30:50 2001
@@ -3648,6 +3648,9 @@ cmdnewl(c) char c;
not convert \r to \n, so additional \n needed in newline function. But
it is also very likely to result in unwanted blank lines.
*/
+#ifdef SVORPOSIX
+ if (c == CR) putchar(NL);
+#endif /* SVORPOSIX */
#ifdef OS2
if (c == CR) putchar(NL);