fortran-experiments: patch for more error checking
Brooks Moses
brooks.moses@codesourcery.com
Wed Jan 24 08:25:00 GMT 2007
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
More information about the Fortran
mailing list