From 86e2681293d9ce2a6b4f057cac870e168ea70670 Mon Sep 17 00:00:00 2001 From: Steve Harter Date: Fri, 30 Jun 2017 13:41:46 -0500 Subject: [PATCH] Remove extra carriage return on trace output (dotnet/core-setup#2742) Commit migrated from https://github.com/dotnet/core-setup/commit/cd4b109ac38a8558ee6e8799540ab280976664ac --- src/installer/corehost/common/pal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installer/corehost/common/pal.h b/src/installer/corehost/common/pal.h index 76fb18e..0e8e995 100644 --- a/src/installer/corehost/common/pal.h +++ b/src/installer/corehost/common/pal.h @@ -129,8 +129,8 @@ namespace pal pal::string_t to_lower(const pal::string_t& in); inline size_t strlen(const char_t* str) { return ::wcslen(str); } - inline void err_vprintf(const char_t* format, va_list vl) { ::vfwprintf(stderr, format, vl); ::fputws(_X("\r\n"), stderr); } - inline void out_vprintf(const char_t* format, va_list vl) { ::vfwprintf(stdout, format, vl); ::fputws(_X("\r\n"), stdout); } + inline void err_vprintf(const char_t* format, va_list vl) { ::vfwprintf(stderr, format, vl); ::fputwc(_X('\n'), stderr); } + inline void out_vprintf(const char_t* format, va_list vl) { ::vfwprintf(stdout, format, vl); ::fputwc(_X('\n'), stdout); } bool pal_utf8string(const pal::string_t& str, std::vector* out); bool utf8_palstring(const std::string& str, pal::string_t* out); -- 2.7.4