[lxc-devel] [lxd/master] Revert "exec: don't s/\\n/\\r\\n/g when interactive"
tych0 on Github
lxc-bot at linuxcontainers.org
Thu Feb 25 21:09:30 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 426 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160225/fc4b18b7/attachment.bin>
-------------- next part --------------
From 4097b363e7f47a9f64b2bb6b7b3770fec1f4b83b Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.andersen at canonical.com>
Date: Thu, 25 Feb 2016 14:08:28 -0700
Subject: [PATCH] Revert "exec: don't s/\\n/\\r\\n/g when interactive"
This reverts commit 17d3dcf7404f9e6f5bc2702193cb8cac1153ed9e.
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
shared/util_linux.go | 2 --
1 file changed, 2 deletions(-)
diff --git a/shared/util_linux.go b/shared/util_linux.go
index 279d67c..d9e7bc1 100644
--- a/shared/util_linux.go
+++ b/shared/util_linux.go
@@ -59,8 +59,6 @@ void configure_pty(int fd) {
term_settings.c_cflag |= HUPCL;
- term_settings.c_oflag &= ~ONLCR;
-
if (tcsetattr(fd, TCSANOW, &term_settings) < 0) {
fprintf(stderr, "Failed to set settings: %s\n", strerror(errno));
return;
More information about the lxc-devel
mailing list