This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fixincl and fdopen (fwd)



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]