This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Fix gfortran include problem


On Nov 16, 2005 10:08 AM, FX Coudert <fxcoudert@gmail.com> wrote:

> + i = strlen(gfc_source_file);
> + while (i > 0 && gfc_source_file[i] != '/')
> + i--;
> + if (i != 0)
Â
You shouldn't look for '/'. There is a separate #define for the
directory separator character, iirc it's in system.h. I don't recall the
name just now, sorry :-/
Â
Â
> -gfc_open_included_file (const char *name)
> +gfc_open_included_file (const char *name, bool include_cwd)
Â
Please add comment for this new function argument.
Â
Gr.
Steven
Â
Â
Â

Â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]