2023-12-14 12:54:58 +01:00
|
|
|
diff -auNr jurand-1.3.2-orig/Makefile jurand-1.3.2/Makefile
|
|
|
|
--- jurand-1.3.2-orig/Makefile 2023-12-14 16:27:32.535474016 +0800
|
|
|
|
+++ jurand-1.3.2/Makefile 2023-12-14 16:28:45.112770530 +0800
|
|
|
|
@@ -12,6 +12,9 @@
|
2023-09-27 09:06:22 +02:00
|
|
|
test: test.sh test-compile
|
|
|
|
@./$<
|
|
|
|
|
|
|
|
+CXXFLAGS += -g -std=gnu++2a -Isrc -Wall -Wextra -Wpedantic -D_GLIBCXX_USE_CXX11_ABI=1
|
|
|
|
+LDFLAGS += -pthread
|
2023-12-14 12:54:58 +01:00
|
|
|
+
|
|
|
|
$(call Executable_file,jurand): $(call Object_file,jurand.cpp)
|
|
|
|
$(call Executable_file,jurand_test): $(call Object_file,jurand_test.cpp)
|
2023-09-27 09:06:22 +02:00
|
|
|
|
2023-12-14 12:54:58 +01:00
|
|
|
diff -auNr jurand-1.3.2-orig/src/java_symbols.hpp jurand-1.3.2/src/java_symbols.hpp
|
|
|
|
--- jurand-1.3.2-orig/src/java_symbols.hpp 2023-12-14 16:27:32.535474016 +0800
|
|
|
|
+++ jurand-1.3.2/src/java_symbols.hpp 2023-12-14 16:30:01.613434431 +0800
|
|
|
|
@@ -636,14 +636,14 @@
|
2023-09-27 09:06:22 +02:00
|
|
|
|
|
|
|
if (not parameters.in_place_)
|
|
|
|
{
|
|
|
|
- auto osyncstream = std::osyncstream(std::cout);
|
|
|
|
+ auto oss = std::osyncstream(std::cout);
|
|
|
|
|
|
|
|
if (not path.empty())
|
|
|
|
{
|
|
|
|
- osyncstream << path.native() << ":\n";
|
|
|
|
+ oss << path.native() << ":\n";
|
|
|
|
}
|
|
|
|
|
|
|
|
- osyncstream.write(content.c_str(), content.size());
|
|
|
|
+ oss.write(content.c_str(), content.size());
|
|
|
|
}
|
|
|
|
else if (content.size() < original_content.size())
|
|
|
|
{
|