This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Include Hackery is dead :-(
- To: Bruce Korb <korbb at datadesign dot com>
- Subject: Re: Include Hackery is dead :-(
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 07 Oct 1997 16:58:38 -0600
- cc: Jim Wilson <wilson at cygnus dot com>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <34390C06.7553@datadesign.com>you write:
> A month or so ago, I played around with a toy to generate
> a shell script that did the same thing as the original.
Yup. Unfortunately I never got a chance to look closely at it.
> Over the weekend, I changed the template to generate "C"
> data structures instead. It was trivial to get the program
> to scan the text of each header file and decide if a particular
> fix applied or not. That hackery was done in about 3 hours.
> Five hours after that, I have determined that Sun OS's
> SVR4.0 streams code is broken and I am not very interested
> in beating my brains against it until I get it to work.
Depending on streams was probably not a good idea anyway. Though
the idea of avoiding the write if nothing changed is a good one.
jeff