------- Comment #3 from fxcoudert at gcc dot gnu dot org 2005-11-18 12:40 ------- Subject: Bug 24892
Author: fxcoudert Date: Fri Nov 18 12:40:42 2005 New Revision: 107177 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107177 Log: PR fortran/20811 PR fortran/24892 * io/io.h (unit_access): Add ACCESS_APPEND. * io/open.c (access_opt): Add APPEND value for ACCESS keyword. (st_open): Use that new value to set the POSITION accordingly. * configure.ac: Add "-I ." to AM_FCFLAGS. * configure: Regenerate. * scanner.c (gfc_open_included_file): Add an extra include_cwd argument. Only include files in the current working directory if its value is true. * gfortran.h: Change prototype for gfc_open_included_file. (load_file): Don't search for include files in the current working directory. * options.c (gfc_post_options): Add the directory of the source file to the list of paths for included files. * module.c (gfc_use_module): Look for module files in the current directory. Modified: branches/gcc-4_0-branch/gcc/fortran/ChangeLog branches/gcc-4_0-branch/gcc/fortran/gfortran.h branches/gcc-4_0-branch/gcc/fortran/module.c branches/gcc-4_0-branch/gcc/fortran/options.c branches/gcc-4_0-branch/gcc/fortran/scanner.c branches/gcc-4_0-branch/libgfortran/ChangeLog branches/gcc-4_0-branch/libgfortran/configure branches/gcc-4_0-branch/libgfortran/configure.ac branches/gcc-4_0-branch/libgfortran/io/io.h branches/gcc-4_0-branch/libgfortran/io/open.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24892