This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
death was premature: fixinclude program working
- To: Gnu Compile System <egcs at cygnus dot com>
- Subject: death was premature: fixinclude program working
- From: Bruce Korb <korbb at datadesign dot com>
- Date: Thu, 09 Oct 1997 10:51:13 -0700
- Organization: Data Design Systems, Inc.
It turns out the streams bug on the Sun is that
they do *not* send the M_PROTO message, command S_HANGUP
until the writer actually exits and not merely closes
the pipe. This is contrary to the documentation and
contrary to SVR4.2. :-( Invoking "ioctl( fd, M_PROTO, &cmd );"
did not help, either.
Anyway, on my Sun:
fixincludes 26 min.
inclhack.sh 23 min.
fixincl 13 min.
"inclhack.sh" and "fixincl" produce identical results.
They differ from "fixincludes" in that '#undef NULL'
starts in column 1 instead of 16, c++-style comments
are deleted instead of converted to c-style (this change
should be applied to "fixincludes" as well -- sys/audiovar.h
winds up with nested comments whithout the change), and
lastly two fixes to stdlib.h are applied in an order
that produces an innocuous difference.
I need a few people to volunteer to run these things
on their boxes and verify consistent results.
Then it can be more generally released.
Please contact me via email. Thanks.
[[ The tarball is too big to email to the world. ]]
Regards,
Bruce