0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/libvte/src-missing.cc.patch
Tee KOBAYASHI 908bb6bf95 libvte: Bump to 0.70.1
The issue https://github.com/termux/x11-packages/issues/537 (crashing
`xfce4-terminal`) has been resolved; it was caused by `close_range`:

6ff6542e90
2022-10-28 05:20:09 +00:00

12 lines
402 B
Diff

--- a/src/missing.cc
+++ b/src/missing.cc
@@ -141,7 +141,7 @@
unsigned int last_fd,
unsigned int flags)
{
-#if defined(__linux__) && defined(SYS_close_range)
+#if defined(__linux__) && defined(SYS_close_range) && !defined(__ANDROID__)
return syscall(SYS_close_range,
first_fd,
last_fd == unsigned(-1) ? ~0u : last_fd,