]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
I've fixed the X11 port, so I can remove the (ioctl) hack.
authorWarner Losh <imp@FreeBSD.org>
Wed, 10 Apr 2002 04:53:37 +0000 (04:53 +0000)
committerWarner Losh <imp@FreeBSD.org>
Wed, 10 Apr 2002 04:53:37 +0000 (04:53 +0000)
commit81f027f8feada5578908b2f2d18aedec1a99dbb7
tree2568f6bbf5d69580efa3902facf57b0c2bffef96
parentee0a4f7ee7ae75730b7f5f9cd974c8d66d3c3081
I've fixed the X11 port, so I can remove the (ioctl) hack.

This hack turns out to be a bad idea.  Many auto configuration scripts
will #include a bunch of system headers, run it through cpp and then
grep/sed to see if there was really a prototype.  The regular
expressions that are used to test this didn't accept all possible
legal ANSI-C prototypes.  In particular, they didn't accept the ()
around ioctl.  Several different programs do this, so eliminating the
parans will keep FreeBSD maximally compatible with other systems.

Appologies to: obrien (he was right in the end)

This potentally breaks some ports (and fixes vim and others that
haven't been fixed to deal with the parens).
sys/sys/ioccom.h