[PATCH] xf86-input-synaptics: fix creation of repeater fifo

Magnus Kessler Magnus.Kessler at gmx.net
Sun Sep 28 02:09:01 PDT 2008


The creation of the repeater fifo in the synaptics driver looks dubious. The 
file mode should be ORed with the S_IFIFO flag and the dev parameter should 
be null. The mknod(3p) man page suggests using mkfifo instead.

The following patch (compile tested only) uses mkfifo and the symbolic names 
for the file modes.

Signed-off-by: Magnus Kessler <Magnus.Kessler at gmx.net>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: synaptics-fix-repeater-fifo.diff
Type: text/x-diff
Size: 701 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080928/47011abe/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20080928/47011abe/attachment.pgp>


More information about the xorg mailing list