This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fortran-experiments: patch for more error checking
Steve Kargl wrote:
For whatever reason, my version of patch created 3 copies of the
bodies of the two testcases. When I manually edited those file
back to your intended tests everything worked out. I commit the
patch tonight.
FWIW, This is a common problem with the "patch" program and patches that
contain new files. If you apply the patch, it creates the new file, but
if you reverse the patch, it doesn't delete it. Then, if you re-apply
the patch, it silently appends the contents of the "new" file to the end
of the existing file.
I'm sort of surprised that this hasn't been considered a bug and fixed
quite some time ago, but apparently it hasn't.
- Brooks