Fortran include not opened
Status: Alpha
Brought to you by:
keithseymour
On RedHat Fedora I had a problem with Fortran include
not opened.
gcc --version
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
I found that the following change in function
open_included_file(char *filename)
solved the problem :
dl_traverse(tmp, include_paths) {
prefix = (char *)dl_val(tmp);
full_file = (char *)f2jrealloc(full_file,
strlen(prefix) + strlen(filename) + 2); /*
>>>>>>> jmv: 1==> 2 */
strcpy(full_file, prefix);
strcat(full_file, FILE_DELIM);
strcat(full_file, filename);
Logged In: YES
user_id=472440
Thanks for the bug report. I have committed this fix.
keith