diff options
author | Bruce Korb <ddsinc09@ix.netcom.com> | 1999-06-09 14:20:47 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 1999-06-09 14:20:47 +0000 |
commit | 6deb8ad89245a63621496a88b0fba2a96296dd7d (patch) | |
tree | 45b268eb4ef660d589e1460152f1cac1e9f01fbc /gcc | |
parent | 7c2772f1052c66bd8f3b22697967f7823a52fd5a (diff) | |
download | gcc-6deb8ad89245a63621496a88b0fba2a96296dd7d.zip gcc-6deb8ad89245a63621496a88b0fba2a96296dd7d.tar.gz gcc-6deb8ad89245a63621496a88b0fba2a96296dd7d.tar.bz2 |
Added a purpose comment for ioctl_fix_ctrl
From-SVN: r27455
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eff5e8a..2eb22b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index bbdd401..94517191 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -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; |