Skip to content

Commit 5043ca5

Browse files
patches::mlibc: update patch
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 3a100d3 commit 5043ca5

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

patches/mlibc/mlibc.patch

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -269,29 +269,6 @@ index fc9fd84..ab57631 100644
269269
auto ra = __builtin_extract_return_addr(__builtin_return_address(0));
270270
return __dlapi_open(file, flags, ra);
271271
}
272-
diff --git a/options/posix/generic/termios-stubs.cpp b/options/posix/generic/termios-stubs.cpp
273-
index 3e621ad..583c1f5 100644
274-
--- a/options/posix/generic/termios-stubs.cpp
275-
+++ b/options/posix/generic/termios-stubs.cpp
276-
@@ -5,6 +5,7 @@
277-
278-
#include <bits/ensure.h>
279-
#include <mlibc/posix-sysdeps.hpp>
280-
+#include <mlibc/debug.hpp>
281-
282-
speed_t cfgetispeed(const struct termios *tios) {
283-
return tios->ibaud;
284-
@@ -50,8 +51,8 @@ int tcflow(int fd, int action) {
285-
}
286-
287-
int tcflush(int, int) {
288-
- __ensure(!"Not implemented");
289-
- __builtin_unreachable();
290-
+ mlibc::infoLogger() << "mlibc::tcflush: is a stub!" << frg::endlog;
291-
+ return 0;
292-
}
293-
294-
int tcgetattr(int fd, struct termios *attr) {
295272
diff --git a/options/rtdl/generic/linker.cpp b/options/rtdl/generic/linker.cpp
296273
index 2e2d3f1..3ff5fef 100644
297274
--- a/options/rtdl/generic/linker.cpp

0 commit comments

Comments
 (0)