From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93D661382C5 for ; Fri, 11 May 2018 18:19:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A56D0E08FB; Fri, 11 May 2018 18:19:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A41CE08EA for ; Fri, 11 May 2018 18:19:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FC3E335C5A for ; Fri, 11 May 2018 18:19:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A214729 for ; Fri, 11 May 2018 18:19:30 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1525998924.b35e03b6b1acc841ac33f601dd39c1152523621e.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-logger.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: b35e03b6b1acc841ac33f601dd39c1152523621e X-VCS-Branch: master Date: Fri, 11 May 2018 18:19:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6c8058e6-20d5-43ec-9021-8bd233bdd696 X-Archives-Hash: 527ce80ae85dce74e33079ec7400ceb4 commit: b35e03b6b1acc841ac33f601dd39c1152523621e Author: William Hubbs gmail com> AuthorDate: Fri May 11 00:35:24 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri May 11 00:35:24 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b35e03b6 Revert "Logger: only log printable characters and newlines" This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf. This seems to create issues shutting down, so I need to look into it further. src/rc/rc-logger.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 1da3f59c..062ce3d9 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -87,9 +87,8 @@ write_log(int logfd, const char *buffer, size_t bytes) } if (!in_escape) { - if (isprint((unsigned char) *p) || *p == '\n') - if (write(logfd, p++, 1) == -1) - eerror("write: %s", strerror(errno)); + if (write(logfd, p++, 1) == -1) + eerror("write: %s", strerror(errno)); continue; }