notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xenv: init g_kbdfd, as 0 is stdin
[libpicofe.git]
/
linux
/
xenv.c
diff --git
a/linux/xenv.c
b/linux/xenv.c
index
1febde7
..
3de7628
100644
(file)
--- a/
linux/xenv.c
+++ b/
linux/xenv.c
@@
-186,7
+186,7
@@
static int x11h_update(int *is_down)
}
static struct termios g_kbd_termios_saved;
-static int g_kbdfd;
+static int g_kbdfd
= -1
;
static int tty_init(void)
{