Jonas Petersen <[email protected]> writes: > It might take one or two hours, but when it reaches the 4294 million it will > explode into a "Fatal IO error 11".
This reproduces the bug in about 15 minutes on my machine:
/* cc -o nop nop.c `pkg-config --cflags --libs x11` */
#include <stdio.h>
#include <stdint.h>
#include <X11/Xlib.h>
int
main (int argc, char **argv)
{
uint64_t i = 0;
Display *dpy = XOpenDisplay(NULL);
for (;;) {
++i;
if ((i & 0xfffffff) == 0) {
XFlush(dpy);
printf ("0x%llx\n", i);
}
XNoOp(dpy);
}
}
--
[email protected]
pgpmUC3_VpeGy.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
