mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-29 06:02:40 +00:00
- Fixes crash that can occur when programs call `readline`'s `rl_redisplay()` function
Backtrace in `megacmd`:
```
rkirkman@termux.dev:/$ ls
rkirkman@termux.dev:/$
Thread 1 "mega-cmd" received signal SIGSEGV, Segmentation fault.
0x0000007fbe1d2218 in ?? () from /data/data/com.termux/files/usr/lib/libreadline.so.8.3
(gdb) bt
at /home/builder/.termux-build/megacmd/src/src/megacmdshell/megacmdshell.cpp:1752
at /home/builder/.termux-build/megacmd/src/src/megacmdshell/megacmdshell.cpp:2080
```
- Copied and pasted from c27f6349cc/8.3.0-display-null-prompt.patch