Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 21:53:38 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys ioccom.h
Message-ID:  <200204100453.g3A4rct50291@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2002/04/09 21:53:38 PDT

  Modified files:
    sys/sys              ioccom.h 
  Log:
  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).
  
  Revision  Changes    Path
  1.14      +1 -6      src/sys/sys/ioccom.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204100453.g3A4rct50291>