]> git.pld-linux.org Git - packages/XFree86.git/blame - XFree86-fixemacs.patch
- outdated
[packages/XFree86.git] / XFree86-fixemacs.patch
CommitLineData
ddd419a0 1--- XFree86-3.3.6/xc/lib/X11/XlibInt.c.fixemacs Mon Jan 24 17:09:48 2000
2+++ XFree86-3.3.6/xc/lib/X11/XlibInt.c Mon Jan 24 17:10:49 2000
3@@ -597,7 +597,10 @@
4 register char *bufindex;
5 _XExtension *ext;
6
7- if (dpy->flags & XlibDisplayIOError) return;
8+ if (dpy->flags & XlibDisplayIOError) {
9+ dpy->bufptr = dpy->buffer; /* reset to avoid buffer overflows */
10+ return;
11+ }
12 #ifdef XTHREADS
13 while (dpy->flags & XlibDisplayWriting) {
14 ConditionWait(dpy, dpy->lock->writers);
This page took 0.04438 seconds and 4 git commands to generate.