diff options
author | Jouk Jansen <[email protected]> | 2000-01-07 01:42:06 +0000 |
---|---|---|
committer | Jouk Jansen <[email protected]> | 2000-01-07 01:42:06 +0000 |
commit | a3bcbfaeb1faf1c38a6816064597cd0c1e6639a0 (patch) | |
tree | ba5aaa3f32abacf8c72f54b5f9509322b9b3cf62 /src/glut | |
parent | 075f184b745ed905fd4155b3104a7313ae90924c (diff) |
Committing in .
Work around for bug in VMS7.2
Modified Files:
Mesa/src-glut/glut_event.c
----------------------------------------------------------------------
Diffstat (limited to 'src/glut')
-rw-r--r-- | src/glut/glx/glut_event.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c index 2c46203e59d..d10cc159b61 100644 --- a/src/glut/glx/glut_event.c +++ b/src/glut/glx/glut_event.c @@ -301,7 +301,15 @@ interruptibleXNextEvent(Display * dpy, XEvent * event) XNextEvent(dpy, event); return 1; } - FD_ZERO(&fds); +#ifndef VMS + /* the combination ConectionNumber-select is buggy on VMS. Sometimes it + * fails. This part of the code hangs the program on VMS7.2. But even + * without it the program seems to run correctly. + * Note that this is a bug in the VMS/DECWindows run-time-libraries. + * Compaq engeneering does not want or is not able to make a fix. + * (last sentence is a quotation from Compaq when I reported the + * problem January 2000) */ + FD_ZERO(&fds); FD_SET(__glutConnectionFD, &fds); rc = select(__glutConnectionFD + 1, &fds, NULL, NULL, NULL); @@ -312,6 +320,7 @@ interruptibleXNextEvent(Display * dpy, XEvent * event) __glutFatalError("select error."); } } +#endif } } |