Added a purpose comment for ioctl_fix_ctrl
authorBruce Korb <ddsinc09@ix.netcom.com>
Wed, 9 Jun 1999 14:20:47 +0000 (14:20 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Wed, 9 Jun 1999 14:20:47 +0000 (14:20 +0000)
From-SVN: r27455

gcc/ChangeLog
gcc/fixinc/inclhack.def

index eff5e8a917a6364bef330496b2c02e1b183ae2c3..2eb22b2d4e0c6609fa87e45592980de6e3f23dd5 100644 (file)
@@ -13,6 +13,7 @@ Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
 
        *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
        the typed arguments are not part of a comment
+       (ioctl_fix_ctrl): Added a purpose comment
        *fixinc/fixincl.x: regenerate
        *fixinc/inclhack.sh: regenerate
 
index bbdd401b27a4e6efd7e79015d43149e0a88b251c..94517191e6779b301361e02c1923eec403cff1b4 100644 (file)
@@ -587,6 +587,16 @@ fix = {
 
 /*
  *  Fix CTRL macros
+ *
+ * Basically, what is supposed to be happening is that every
+ * _invocation_ of the "_CTRL()" or "CTRL()" macros is supposed to have
+ * its argument inserted into single quotes.  We _must_ do this because
+ * ANSI macro substitution rules prohibit looking inside quoted strings
+ * for the substitution names.  A side effect is that the quotes are
+ * inserted in the definitions of those macros as well.  So, the last
+ * three sed expressions are supposed to clean up the definitions, as
+ * long as those definitions are using "c", "g" or "x" as the macro
+ * argument :).  Yuck.
  */
 fix = {
     hackname = ioctl_fix_ctrl;