PR fortran/47472
* options.c (gfc_handle_module_path_options): Save
module path without trailing slash as include path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169323
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-01-27 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/47472
+ * options.c (gfc_handle_module_path_options): Save
+ module path without trailing slash as include path.
+
2011-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/47448
gfc_option.module_dir = (char *) gfc_getmem (strlen (arg) + 2);
strcpy (gfc_option.module_dir, arg);
- strcat (gfc_option.module_dir, "/");
gfc_add_include_path (gfc_option.module_dir, true, false);
+
+ strcat (gfc_option.module_dir, "/");
}