termux-packages/packages/aalib/src-aalinuxkbd.c.patch

13 lines
382 B
Diff
Raw Normal View History

2020-06-05 22:14:06 +02:00
diff -uNr aalib-1.4.0/src/aalinuxkbd.c aalib-1.4.0.mod/src/aalinuxkbd.c
--- aalib-1.4.0/src/aalinuxkbd.c 2001-04-26 17:37:31.000000000 +0300
+++ aalib-1.4.0.mod/src/aalinuxkbd.c 2020-06-05 23:12:49.189568303 +0300
@@ -200,7 +200,7 @@
static int rawmode_init(void)
{
if (!closed)
- return;
+ return 0;
mypid = getpid();
if (tty_fd == -1) {
tty_fd = fileno(stdin);