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:
Mandrake 2000-02-17 18:50:18 +00:00
parent a89db468c8
commit 2c23624373
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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 (;;)
{