diff options
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/module.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 5d972c2edda..6502f1a0802 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,6 +1,11 @@ 2009-02-27 Tobias Burnus <burnus@net-b.de> PR fortran/39309 + * module.c (read_md5_from_module_file): Add missing quote. + +2009-02-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/39309 * module.c (read_md5_from_module_file): Include mod version in had-changed test. diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index c234879a2a1..d5a9f54a76a 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -4746,8 +4746,8 @@ read_md5_from_module_file (const char * filename, unsigned char md5[16]) } /* The file also needs to be overwritten if the version number changed. */ - n = strlen ("GFORTRAN module version " MOD_VERSION " created"); - if (strncmp (buf, "GFORTRAN module version " MOD_VERSION " created", n) != 0) + n = strlen ("GFORTRAN module version '" MOD_VERSION "' created"); + if (strncmp (buf, "GFORTRAN module version '" MOD_VERSION "' created", n) != 0) return -1; if (fgets (buf, sizeof (buf) - 1, file) == NULL) |