[PATCH] DECnet fixes

Patrick Caulfield patrick at tykepenguin.com
Fri Apr 21 01:09:40 PDT 2006


The attached patches fix DECnet support in the Xorg 7.0 server (I haven't
tried the libraries yet). These have been tested on Linux 2.6.16 on Fedora Core 5.

I've split them up into small patches so you can reject the more controversial
ones :-)

The first two are plain bug fixes and I hope will not be controversial:

server-access.diff fixes a compilation error,

xtrans-nolisten.diff adds a missing initialiser to the Xtransport struct for DNET

server-config adds --enable-decnet to configure.ac. I'm not sure if LIBS &
CFLAGS are precisely the right place to add -DDNETCONN & -ldnet but I couldn't
find anything else that worked!

xtrans-eintr works around what could arguably be a Linux kernel bug but I'm
not sure. The Linux DECnet stack returns error==EINTR when the alarm() goes
off. The Xserver then terminates the connection because it interprets that as
a read error. This patch converts that to EAGAIN which the server regards as
more benign.

Adding DECnet functionality to libX11 should simple be a matter of a similar
config patch as for the libraries package but I'll work on that later.

patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server-access.diff
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060421/3c90f03b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtrans-nolisten.diff
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060421/3c90f03b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server-config.diff
Type: text/x-patch
Size: 1283 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060421/3c90f03b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtrans-eintr.diff
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060421/3c90f03b/attachment-0003.bin>


More information about the xorg mailing list