xiaoxiang781216 commented on a change in pull request #5299: URL: https://github.com/apache/incubator-nuttx/pull/5299#discussion_r789490631
########## File path: libs/libxx/0001-uclibxx-use-overload-constructor-of-filebuf-ostream.patch ########## @@ -0,0 +1,308 @@ +From b9028c8bc1a4cd00feb5328521bdde332fefeda3 Mon Sep 17 00:00:00 2001 +From: zhuyanlin <[email protected]> +Date: Mon, 27 Sep 2021 21:47:41 +0800 +Subject: [PATCH] uclibxx: use overload constructor of filebuf & ostream + +Instead of set valiable in Init, use overload constructor in +filebuf & stream class + +Change-Id: I090432b5576eb568f92f3c147b39ad2efd8ba6b0 +--- + include/fstream | 15 +++++++-- + include/ios | 21 +++--------- + include/istream | 4 +++ + include/ostream | 8 +++++ + include/streambuf | 6 ++-- + src/ios.cpp | 84 ++++++++--------------------------------------- + 6 files changed, 44 insertions(+), 94 deletions(-) + +diff --git a/uClibc++/include/fstream b/uClibc++/include/fstream +index fddfa35..99a016e 100644 +--- a/uClibc++/include/fstream ++++ b/uClibc++/include/fstream Review comment: Here is the prefix: https://github.com/apache/incubator-nuttx/blob/master/libs/libxx/0001-uClibcxx-basic_definitions-fix-GCC-specific-definiti.patch#L16-L17 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
