Breaking up enormous source files

Ansgar Esztermann ansgar@thphy.uni-duesseldorf.de
Thu Feb 20 13:32:00 GMT 2003


That project has been sitting on the web site for quite some time
now, so I thought I'd start working on it.
I have picked fold-const.c for now and intend to work my way through
the list. However, I have a few questions:

What size should I aim for in the resulting files? Is 50k OK, too 
small, or still too large?

Is it OK to submit several smaller patches instead of a single large
one? E.g., when breaking up a.c into a.c, b.c, and c.c, first 
preparing one patch that creates b.c and reduces the size of a.c by
roughly one third would probably decrease the likelihood of conflicts
when checking in that patch (as opposed to creating b.c and c.c all
in one go).

Which copyright dates should I give the new files? In a way, they are
new, but then again, their contents is just copied from an older
file. What about header files? Does an old function prototype in a
new file constitute a new or an old copyright?


Thanks for your patience.

Ansgar Esztermann

-- 
Institut fuer theoretische Physik II    | Geb. 25.32.02
Heinrich-Heine-Universitaet Duesseldorf | +49-211-8112059 (phone)
Universitaetsstr. 1                     | +49-211-8112262 (fax)
D-40225 Duesseldorf, Germany            | 




More information about the Gcc mailing list