[gfortran] Change libgfortran license to GPL+exception
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Sep 18 15:01:00 GMT 2004
Toon Moene wrote:
> All the original authors have assigned their copyrights to the FSF and
> also all contributors mentioned in the ChangeLog, except Melvin Hadasht
> (2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>) - therefore, the
> FSF (and acting on its behalf, the Steering Committee) can change the
> terms of the license to LGPL or GPL + exception, if the issue around
> Hadasht's contribution can be solved (from the ChangeLog entry I get the
> impression that he only contributed a few lines at most).
The patch wasn't that hard to find, see
<http://gcc.gnu.org/ml/fortran/2003-11/msg00128.html>:
Index: libgfortran/io/transfer.c
===================================================================
RCS file: /cvsroot/gcc/gcc/libgfortran/io/Attic/transfer.c,v
retrieving revision 1.1.2.4
diff -p -u -r1.1.2.4 transfer.c
--- libgfortran/io/transfer.c 19 Sep 2003 19:11:12 -0000 1.1.2.4
+++ libgfortran/io/transfer.c 30 Nov 2003 04:28:42 -0000
@@ -909,7 +909,8 @@ data_transfer_init (int read_flag)
if (ioparm.library_return != LIBRARY_OK)
return;
- if (current_unit->flags.form ==3D FORM_UNFORMATTED && ioparm.format != NULL)
+ if (current_unit->flags.form ==3D FORM_UNFORMATTED && (ioparm.format != NULL ||
+ ioparm.list_format))
generate_error (ERROR_OPTION_CONFLICT,
"Format present for UNFORMATTED data transfer");
I guess we're safe, even though the code is still present.
- Tobi
More information about the Gcc-patches
mailing list