Subject: CVS commit: xsrc/xfree/xc
To: None <source-changes@NetBSD.org>
From: john heasley <heas@netbsd.org>
List: source-changes
Date: 07/06/2004 05:24:50
Module Name:	xsrc
Committed By:	heas
Date:		Tue Jul  6 05:24:50 UTC 2004

Modified Files:
	xsrc/xfree/xc/lib/dps: Xlibnet.h csconndi.c cslibint.c
	xsrc/xfree/xc/programs/xterm: main.c

Log Message:
ioctl(FIONREAD)'s arg is an int, not long which loses badly on 64-bit big
endian boxes.  Based on defined(LONG64) for now; though it seems that
cygwin is the only platform whose are is not int, let the XFree folks decide
what the final solutions should be. FWIW, Linux 2.4, Solaris, IRIX64, HPUX,
AIX, Tru64, and FreeBSD use int.

This fixes xterm scrolling speed, missed events, and a number of GTK
"protocol errors" that I was seeing.

XFree PR #1426.


To generate a diff of this commit:
cvs rdiff -r1.1.1.5 -r1.2 xsrc/xfree/xc/lib/dps/Xlibnet.h \
    xsrc/xfree/xc/lib/dps/csconndi.c
cvs rdiff -r1.1.1.4 -r1.2 xsrc/xfree/xc/lib/dps/cslibint.c
cvs rdiff -r1.8 -r1.9 xsrc/xfree/xc/programs/xterm/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.