Thu Feb 17 11:02:30 PST 2000
(Mandrake) patch from Bob Arendt <rdarendt@cwcom.net> to fix a problem in eesh with tru64 SVN revision: 2085
This commit is contained in:
parent
a89db468c8
commit
2c23624373
|
@ -1686,3 +1686,10 @@ Wed Feb 16 11:32:52 PST 2000
|
|||
(Mandrake)
|
||||
|
||||
added tr.po
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Thu Feb 17 11:02:30 PST 2000
|
||||
(Mandrake)
|
||||
|
||||
patch from Bob Arendt <rdarendt@cwcom.net> to fix a problem in eesh with tru64
|
||||
|
|
|
@ -31,6 +31,11 @@
|
|||
|
||||
extern char waitonly;
|
||||
|
||||
static int stdin_state;
|
||||
void restore_stdin_state(void) {
|
||||
fcntl(0, F_SETFL, stdin_state);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
|
@ -113,6 +118,8 @@ main(int argc, char **argv)
|
|||
|
||||
XSync(disp, False);
|
||||
j = 0;
|
||||
stdin_state = fcntl(0, F_GETFL, 0);
|
||||
atexit( restore_stdin_state );
|
||||
fcntl(0, F_SETFL, O_NONBLOCK);
|
||||
for (;;)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue