This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fixincl and fdopen (fwd)
- To: Philippe De Muyter <phdm at macqel dot be>
- Subject: Re: fixincl and fdopen (fwd)
- From: Bruce Korb <bkorb at sco dot COM>
- Date: Wed, 10 May 2000 12:09:07 -0700
- CC: gcc-patches at gcc dot gnu dot org
- Organization: Santa Cruz Operations
- References: <200005101840.UAA19571@mail.macqel.be>
- Reply-To: Bruce Korb <bkorb at gnu dot org>
I also cannot see my posting from early this morning.
Here is the commentary. The diff is only 36K:)
===========
The primary purpose of this patch is to install the functionality
of "format"ted C program fixes and some (more) of the infrastructure
needed to do a "make check".
The essence of the format fix is to use the text located with
the "search" clause as a string argument to a format string that
will be used to replace the located text. If the format text
does not contain "%s", then, obviously, it is a simple text
replacement. I will put details in the README when I am ready
to really turn it on.
The "make check" feature will make it possible to verify that
the fixincl program is making the intended changes on the
"test_text" strings that will gradually be added to the inclhack
definitions. Since this should only be useful to someone changing
these definitions, you will have to have autogen installed to
be able to run "make check" successfully. I will also need to
install a "check.diff" file before it will work. :)
I plan to install tomorrow.
2000-05-11 Bruce Korb <bkorb@gnu.org>
* fixinc/fixfixes.c(double_slash_fix): obsolete
(else_endif_label_fix): obsolete
(format_fix): new, unused as yet
(main): obsolete
* fixinc/fixlib.h: added fix description struct for use by format_fix
* fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
* fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
modules. Removed the vestiges of the script version.
Added support for "make check".
* fixinc/check.tpl: quiet the fixup output
* fixinc/fixtests.c(main): obsolete
* fixinc/fixincl.sh: don't bother copying fixincl to ..
* fixinc/fixincl.tpl: provide for arguments to c_fix routines