!3 Close private print in hilog.cpp file
From: @heppen Reviewed-by: @yukaii Signed-off-by: @yukaii
This commit is contained in:
commit
e05b3f33f0
25
0004-close-private-print-in-hilog.cpp-file.patch
Normal file
25
0004-close-private-print-in-hilog.cpp-file.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 4109037a7f708c6d23ccdff64a5638ef592c7598 Mon Sep 17 00:00:00 2001
|
||||||
|
From: heppen <hepeng68@huawei.com>
|
||||||
|
Date: Mon, 31 Jul 2023 10:24:25 +0800
|
||||||
|
Subject: [PATCH] Close private print in hilog.cpp file
|
||||||
|
|
||||||
|
---
|
||||||
|
frameworks/libhilog/hilog.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/frameworks/libhilog/hilog.cpp b/frameworks/libhilog/hilog.cpp
|
||||||
|
index e58c6d6..8da82c5 100644
|
||||||
|
--- a/frameworks/libhilog/hilog.cpp
|
||||||
|
+++ b/frameworks/libhilog/hilog.cpp
|
||||||
|
@@ -77,7 +77,7 @@ int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int
|
||||||
|
char *logBuf = buf;
|
||||||
|
int traceBufLen = 0;
|
||||||
|
int ret;
|
||||||
|
- bool priv = true;
|
||||||
|
+ bool priv = false;
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
/* code specific to clang compiler */
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: hilog
|
Name: hilog
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: OpenEuler supports hilog for distributed softbus capability
|
Summary: OpenEuler supports hilog for distributed softbus capability
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
Url: https://gitee.com/openharmony/hiviewdfx_hilog
|
Url: https://gitee.com/openharmony/hiviewdfx_hilog
|
||||||
@ -13,6 +13,7 @@ Source0: https://gitee.com/openharmony/hiviewdfx_hilog/repository/archive/%{open
|
|||||||
Patch0000: 0001-init-and-adapt-to-openeuler.patch
|
Patch0000: 0001-init-and-adapt-to-openeuler.patch
|
||||||
Patch0001: 0002-fix-build-gn-files-config.patch
|
Patch0001: 0002-fix-build-gn-files-config.patch
|
||||||
Patch0002: 0003-feat-set-priv-false.patch
|
Patch0002: 0003-feat-set-priv-false.patch
|
||||||
|
Patch0003: 0004-close-private-print-in-hilog.cpp-file.patch
|
||||||
|
|
||||||
BuildRequires: distributed-build, libboundscheck,libatomic
|
BuildRequires: distributed-build, libboundscheck,libatomic
|
||||||
Requires: libboundscheck, libatomic
|
Requires: libboundscheck, libatomic
|
||||||
@ -80,6 +81,10 @@ install -m 554 %{hilog_dir}/hilog/interfaces/native/innerkits/include/hilog_base
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
* Mon Jul 31 2023 Peng He <hepeng68@huawei.com> - 1.0.0-2
|
||||||
|
- Close private print in hilog.cpp file.
|
||||||
|
|
||||||
* Thu Jun 15 2023 tianhang <tian_hang@hoperun.com> - 1.0.0-1
|
* Thu Jun 15 2023 tianhang <tian_hang@hoperun.com> - 1.0.0-1
|
||||||
- Init and adapt to openeuler
|
- Init and adapt to openeuler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user