Include Hackery is dead :-(
Jeffrey A Law
law@cygnus.com
Tue Oct 7 23:14:00 GMT 1997
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
More information about the Gcc
mailing list